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`
pull/764/head
Ben Woosley 5 years ago
parent eafa747ca5
commit cd82f75a43
No known key found for this signature in database
GPG Key ID: 6EE5F3785F78B345

@ -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"

Loading…
Cancel
Save