add NGROK_TOKEN_OSX

This commit is contained in:
neilpang 2016-11-22 22:37:48 +08:00
parent 9eeae9ad7e
commit fa6234e417
1 changed files with 2 additions and 1 deletions

View File

@ -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: