Merge pull request #3868 from libgit2/ethomson/mac_build

ci: point to the homebrew libssh2 install
This commit is contained in:
Edward Thomson 2016-07-24 15:47:58 -04:00 committed by GitHub
commit 378d12ac85
2 changed files with 6 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/{curl,zlib}/*/lib/pkgconfig | paste -s -d':' -)
fi
# Should we ask Travis to cache this file?
curl -L https://github.com/ethomson/poxyproxy/releases/download/v0.1.0/poxyproxy-0.1.0.jar >poxyproxy.jar || exit $?
# Run this early so we know it's ready by the time we need it

View File

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