From 8ba4756af921b471ae3533d23fdaa988c851ad54 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Tue, 6 Jun 2017 18:31:02 -1000 Subject: compile all our mac builds against 1.1.0 in travis (#3689) * compile all our mac builds against 1.1.0 in travis * Just install * try this why not * ... * of course * upgrade the existing openssl --- .travis/install.sh | 1 + .travis/run.sh | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to '.travis') diff --git a/.travis/install.sh b/.travis/install.sh index 6b66f5bf..130d30f7 100755 --- a/.travis/install.sh +++ b/.travis/install.sh @@ -8,6 +8,7 @@ if [[ "$(uname -s)" == 'Darwin' ]]; then brew update || brew update brew outdated openssl || brew upgrade openssl + brew install openssl@1.1 # install pyenv git clone --depth 1 https://github.com/pyenv/pyenv ~/.pyenv diff --git a/.travis/run.sh b/.travis/run.sh index a1b527bb..2b9479d8 100755 --- a/.travis/run.sh +++ b/.travis/run.sh @@ -12,11 +12,13 @@ if [[ "$(uname -s)" == "Darwin" ]]; then # set our flags to use homebrew openssl # if the build is static we need different LDFLAGS if [[ "${CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS}" == "1" ]]; then - export LDFLAGS="/usr/local/opt/openssl/lib/libssl.a /usr/local/opt/openssl/lib/libcrypto.a" + export LDFLAGS="/usr/local/opt/openssl\@1.1/lib/libssl.a /usr/local/opt/openssl\@1.1/lib/libcrypto.a" + export CFLAGS="-I/usr/local/opt/openssl\@1.1/include" else + # Compile the dynamic link build against 1.0.2 because the linker refuses to properly load 1.1.0 export LDFLAGS="-L/usr/local/opt/openssl/lib" + export CFLAGS="-I/usr/local/opt/openssl/include" fi - export CFLAGS="-I/usr/local/opt/openssl/include" else if [[ "${TOXENV}" == "pypy" ]]; then PYENV_ROOT="$HOME/.pyenv" -- cgit v1.2.3