From db5708f6ad2a9cf622b30feecaa5030554ec1d38 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Fri, 17 Mar 2017 11:11:07 -0600 Subject: [PATCH] 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. --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 409ff648e6..45c53cda71 100644 --- a/.travis.yml +++ b/.travis.yml @@ -126,6 +126,10 @@ before_install: - | if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update + + # Unlink pcre in case its already installed. + brew unlink pcre || true + brew install pkg-config libmagic libyaml nss nspr jansson libnet lua \ pcre hiredis fi -- 2.47.2