diff options
author | Ben Woosley <ben.woosley@gmail.com> | 2019-06-10 04:55:47 +0200 |
---|---|---|
committer | Ben Woosley <ben.woosley@gmail.com> | 2019-10-09 15:50:42 +0100 |
commit | cd82f75a431967030d25bcfe7c4aaefe5b345a99 (patch) | |
tree | c069a9aad020cb5bf7b1c61bf8a9fa348cb19c0b /ci/lint/04_install.sh | |
parent | eafa747ca5926d47f555820cecae0846ac01e20f (diff) | |
download | bitcoin-cd82f75a431967030d25bcfe7c4aaefe5b345a99.tar.xz |
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`
Diffstat (limited to 'ci/lint/04_install.sh')
-rwxr-xr-x | ci/lint/04_install.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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" |