From 41266f05e93ff945526ef336a67c921c2d2b3dfe Mon Sep 17 00:00:00 2001 From: neilpang Date: Wed, 23 Nov 2016 21:01:47 +0800 Subject: [PATCH] fix CI --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8659ecd..645032a 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: