Browse Source

Merge pull request #389 from Neilpang/dev

run acmetest project in CI
neil 8 years ago
parent
commit
ae4f7b6d7a
1 changed files with 6 additions and 0 deletions
  1. 6 0
      .travis.yml

+ 6 - 0
.travis.yml

@@ -1,4 +1,5 @@
 language: shell
+sudo: required
 
 env:
   global:
@@ -17,6 +18,11 @@ script:
   - shellcheck -V
   - shellcheck -e SC2021,SC2126,SC2034 **/*.sh && echo "shellcheck OK"
   - ~/shfmt -l -w -i 2 . && echo "shfmt OK" || git diff --exit-code || (echo "Run shfmt to fix the formatting issues" && false)
+  - cd ..
+  - 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"
+  - git clone https://github.com/Neilpang/acmetest.git && cp -r acme.sh acmetest/ && cd acmetest
+  - sudo ./letest.sh
+
 
 matrix:
   fast_finish: true