Commit 1c02b858 authored by neilpang's avatar neilpang
Browse files

test ngrok

parent a2801649
...@@ -21,8 +21,13 @@ script: ...@@ -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" - 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
- $NGROK_BIN authtoken "$NGROK_TOKEN" - $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
- git clone https://github.com/Neilpang/acmetest.git && cp -r acme.sh acmetest/ && cd acmetest && ./letest.sh - $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: matrix:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment