Browse Source

test ngrok

pull/389/head
neilpang 8 years ago
parent
commit
1c02b85802
  1. 9
      .travis.yml

9
.travis.yml

@ -21,8 +21,13 @@ script:
- curl -sSL https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip -o ngrok-stable-linux-amd64.zip && unzip ngrok-stable-linux-amd64.zip && export NGROK_BIN="$(pwd)/ngrok"
- $NGROK_BIN
- $NGROK_BIN authtoken "$NGROK_TOKEN"
- $NGROK_BIN http 80 --log stdout --log-format logfmt --log-level debug
- git clone https://github.com/Neilpang/acmetest.git && cp -r acme.sh acmetest/ && cd acmetest && ./letest.sh
- git clone https://github.com/Neilpang/acmetest.git && cp -r acme.sh acmetest/ && cd acmetest
- $NGROK_BIN http 80 --log stdout --log-format logfmt --log-level debug > ngrok.tmp &
- echo "==========================="
- cat ngrok.tmp
- echo ==============================
- grep -o 'Hostname:[a-z0-9]+.ngrok.io' ngrok.tmp
- ./letest.sh
matrix:

Loading…
Cancel
Save