0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00

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`
This commit is contained in:
Ben Woosley 2019-06-10 04:55:47 +02:00
parent eafa747ca5
commit cd82f75a43
No known key found for this signature in database
GPG key ID: 6EE5F3785F78B345

View file

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