Skip to content

Commit 08556e6

Browse files
author
Edward Thomson
committed
ci: install homebrew's zlib on mac
1 parent c18a2bc commit 08556e6

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

script/cibuild.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ then
66
exit $?;
77
fi
88

9+
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
10+
export PKG_CONFIG_PATH=$(ls -d /usr/local/Cellar/zlib/*/lib/pkgconfig | paste -s -d':' -)
11+
fi
12+
913
# Should we ask Travis to cache this file?
1014
curl -L https://github.com/ethomson/poxyproxy/releases/download/v0.1.0/poxyproxy-0.1.0.jar >poxyproxy.jar || exit $?
1115
# Run this early so we know it's ready by the time we need it

script/install-deps-osx.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
set -x
44

55
brew update
6+
brew install homebrew/dupes/zlib
67
brew install libssh2

0 commit comments

Comments
 (0)