This commit is contained in:
neilpang 2016-11-23 20:21:43 +08:00
parent 2ffab66d97
commit a205762bf0

View File

@ -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;