This commit is contained in:
neilpang 2016-11-23 21:01:47 +08:00
parent d2aa331838
commit 41266f05e9

View File

@ -26,7 +26,8 @@ install:
_old_path="$PATH";
echo "PATH=$PATH"
export PATH="";
/usr/local/openssl version 2>&1 || true;
export OPENSSL_BIN="/usr/local/openssl"
$OPENSSL_BIN version 2>&1 || true;
export PATH="$_old_path";
fi
@ -43,7 +44,7 @@ script:
- cd ..
- git clone https://github.com/Neilpang/acmetest.git && cp -r acme.sh acmetest/ && cd acmetest
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo NGROK_TOKEN="$NGROK_TOKEN" ./letest.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo NGROK_TOKEN="$NGROK_TOKEN_OSX" OPENSSL_BIN="/usr/local/Cellar/openssl/1.0.2j/bin/openssl" ./letest.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo NGROK_TOKEN="$NGROK_TOKEN_OSX" OPENSSL_BIN="$OPENSSL_BIN" ./letest.sh ; fi
matrix: