From a205762bf092e107f5f00f2831be4a17dcef5006 Mon Sep 17 00:00:00 2001 From: neilpang Date: Wed, 23 Nov 2016 20:21:43 +0800 Subject: [PATCH] fix ci --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5cadb56..27847a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,11 @@ addons: install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - brew update && brew install openssl && brew link openssl --force; + brew update && brew install openssl; + brew info openssl; + ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; + ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; + ln -s /usr/local/Cellar/openssl/1.0.2j/bin/openssl openssl; _old_path="$PATH"; export PATH=""; openssl version 2>&1 || true;