travis: fix libpcre in mac builds

It looks like Travis changed their Mac image and pcre is now
installed by default. In case it gets removed again, just unlink
it before re-installing so it doesn't fail on install.
pull/2621/head
Jason Ish 8 years ago committed by Victor Julien
parent 6585ac4a9f
commit db5708f6ad

@ -126,6 +126,10 @@ before_install:
- | - |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update brew update
# Unlink pcre in case its already installed.
brew unlink pcre || true
brew install pkg-config libmagic libyaml nss nspr jansson libnet lua \ brew install pkg-config libmagic libyaml nss nspr jansson libnet lua \
pcre hiredis pcre hiredis
fi fi

Loading…
Cancel
Save