From 8d6688fb6bd11ff81f3ec341ff93f259d72df47a Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Sat, 29 Dec 2018 20:55:41 +0800 Subject: travis-ci: fix osx build (#112) --- .travis.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4476603c6..9f97396fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,8 +41,13 @@ matrix: - ulimit -n - unset -f cd # workaround for https://github.com/travis-ci/travis-ci/issues/8703 - make libbls - - go run build/ci.go install + - PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig go run build/ci.go install - travis_retry go run build/ci.go test -coverage $TEST_PACKAGES + addons: + homebrew: + packages: + - openssl + - gmp # This builder only tests code linters on latest version of Go - os: linux @@ -198,8 +203,14 @@ matrix: submodules: false script: - make libbls - - go run build/ci.go install + - PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig go run build/ci.go install - go run build/ci.go archive -type tar -signer OSX_SIGNING_KEY -upload dexon-builds + addons: + homebrew: + packages: + - openssl + - gmp + # - gem uninstall cocoapods -a -x # - gem install cocoapods # - mv ~/.cocoapods/repos/master ~/.cocoapods/repos/master.bak -- cgit v1.2.3