Commit 0239eff354e5880ceae079b7ddd04d1b01f664ac

Edward Thomson 2016-07-24T14:51:28

ci: install homebrew's curl on mac

diff --git a/script/cibuild.sh b/script/cibuild.sh
index 2772dcd..979eb0c 100755
--- a/script/cibuild.sh
+++ b/script/cibuild.sh
@@ -7,7 +7,7 @@ then
 fi
 
 if [ "$TRAVIS_OS_NAME" = "osx" ]; then
-	export PKG_CONFIG_PATH=$(ls -d /usr/local/Cellar/zlib/*/lib/pkgconfig | paste -s -d':' -)
+	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?
diff --git a/script/install-deps-osx.sh b/script/install-deps-osx.sh
index da0672d..4b8393b 100755
--- a/script/install-deps-osx.sh
+++ b/script/install-deps-osx.sh
@@ -4,4 +4,5 @@ set -x
 
 brew update
 brew install homebrew/dupes/zlib
+brew install curl
 brew install libssh2