test ngrok

This commit is contained in:
neilpang 2016-11-15 19:29:02 +08:00
parent a2801649b4
commit 1c02b85802

View File

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