From cd82f75a431967030d25bcfe7c4aaefe5b345a99 Mon Sep 17 00:00:00 2001 From: Ben Woosley Date: Mon, 10 Jun 2019 04:55:47 +0200 Subject: lint: Install grep and git via brew on mac for --perl-regexp Particularly `--with-pcre2` is needed to run `git grep --perl-regexp` in `test/link/check-doc.py` --- ci/lint/04_install.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ci/lint') diff --git a/ci/lint/04_install.sh b/ci/lint/04_install.sh index 9d275e7b3b..9f7e1b310d 100755 --- a/ci/lint/04_install.sh +++ b/ci/lint/04_install.sh @@ -9,6 +9,9 @@ export LC_ALL=C if [ "$TRAVIS_OS_NAME" == "osx" ]; then # update first to install required ruby dependency travis_retry brew update + travis_retry brew reinstall git -- --with-pcre2 # for --perl-regexp + travis_retry brew install grep # gnu grep for --perl-regexp support + PATH="$(brew --prefix grep)/libexec/gnubin:$PATH" travis_retry brew install shellcheck travis_retry brew upgrade python PATH="$(brew --prefix python)/bin:$PATH" -- cgit v1.2.3