Commit 0c7e546fa748334a3fd3413db442132b7d6b166b

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 54b4f1b..5707f01 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
 
 mkdir _build
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