diff --git a/.travis.yml b/.travis.yml index 8659ecd1..645032a3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: