ci: install homebrew's zlib on mac

This commit is contained in:
Edward Thomson 2016-07-22 17:45:03 -04:00
parent e9f10cdad1
commit 1db5e0276f
2 changed files with 5 additions and 0 deletions

View File

@ -6,6 +6,10 @@ then
exit $?;
fi
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
export PKG_CONFIG_PATH=$(ls -d /usr/local/Cellar/zlib/*/lib/pkgconfig | paste -s -d':' -)
fi
mkdir _build
cd _build
# shellcheck disable=SC2086

View File

@ -3,4 +3,5 @@
set -x
brew update
brew install homebrew/dupes/zlib
brew install libssh2