neilpang 8 years ago
parent
commit
d2aa331838
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .travis.yml

+ 2 - 2
.travis.yml

@@ -26,7 +26,7 @@ install:
       _old_path="$PATH";
       _old_path="$PATH";
       echo "PATH=$PATH"
       echo "PATH=$PATH"
       export PATH="";
       export PATH="";
-      openssl version 2>&1 || true;
+      /usr/local/openssl version 2>&1 || true;
       export PATH="$_old_path";
       export PATH="$_old_path";
     fi
     fi
   
   
@@ -43,7 +43,7 @@ script:
   - cd ..
   - cd ..
   - git clone https://github.com/Neilpang/acmetest.git && cp -r acme.sh acmetest/ && cd acmetest
   - 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" == "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:
 matrix: