aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-12-29 20:55:41 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:55 +0800
commit49ee39391d8cc2b5d71b7e4aa01efc87550bdbea (patch)
tree865043a309ebe3f58b478f0233036feecad1175f
parent9ca2a528ef0f3819b4921a33a3a2110d291707e0 (diff)
downloadgo-tangerine-49ee39391d8cc2b5d71b7e4aa01efc87550bdbea.tar
go-tangerine-49ee39391d8cc2b5d71b7e4aa01efc87550bdbea.tar.gz
go-tangerine-49ee39391d8cc2b5d71b7e4aa01efc87550bdbea.tar.bz2
go-tangerine-49ee39391d8cc2b5d71b7e4aa01efc87550bdbea.tar.lz
go-tangerine-49ee39391d8cc2b5d71b7e4aa01efc87550bdbea.tar.xz
go-tangerine-49ee39391d8cc2b5d71b7e4aa01efc87550bdbea.tar.zst
go-tangerine-49ee39391d8cc2b5d71b7e4aa01efc87550bdbea.zip
travis-ci: fix osx build (#112)
-rw-r--r--.travis.yml15
1 files changed, 13 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 8cd468e4e..52b8d026e 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