Browse Source

test ngrok

neilpang 8 years ago
parent
commit
7f944c2c8b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .travis.yml

+ 1 - 0
.travis.yml

@@ -23,6 +23,7 @@ script:
   - $NGROK_BIN authtoken "$NGROK_TOKEN" 
   - $NGROK_BIN authtoken "$NGROK_TOKEN" 
   - 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
   - $NGROK_BIN http 80 --log stdout --log-format logfmt --log-level debug > ngrok.tmp &
   - $NGROK_BIN http 80 --log stdout --log-format logfmt --log-level debug > ngrok.tmp &
+  - sleep 5
   - echo "==========================="
   - echo "==========================="
   - cat ngrok.tmp
   - cat ngrok.tmp
   - echo ==============================
   - echo ==============================