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:
parent
eafa747ca5
commit
cd82f75a43
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue