From d2aa3318388f7ed7900ea08845dbbc2c9beed395 Mon Sep 17 00:00:00 2001 From: neilpang Date: Wed, 23 Nov 2016 20:46:11 +0800 Subject: [PATCH] fix ci --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 40a2019..8659ecd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,7 @@ install: _old_path="$PATH"; echo "PATH=$PATH" export PATH=""; - openssl version 2>&1 || true; + /usr/local/openssl version 2>&1 || true; export PATH="$_old_path"; fi @@ -43,7 +43,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" ./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 matrix: