From fa6234e417297108008c6af06f89ba88d4b3be23 Mon Sep 17 00:00:00 2001 From: neilpang Date: Tue, 22 Nov 2016 22:37:48 +0800 Subject: [PATCH] add NGROK_TOKEN_OSX --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8e00e251..e2b0a9d2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,8 @@ script: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck -e SC2021,SC2126,SC2034 **/*.sh && echo "shellcheck OK" ; fi - cd .. - git clone https://github.com/Neilpang/acmetest.git && cp -r acme.sh acmetest/ && cd acmetest - - sudo NGROK_TOKEN="$NGROK_TOKEN" ./letest.sh + - 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 matrix: