sudo for travis

This commit is contained in:
neilpang 2016-11-15 21:49:35 +08:00
parent 09f1c58872
commit c947322a69

View File

@ -1,4 +1,5 @@
language: shell language: shell
sudo: required
env: env:
global: global:
@ -20,7 +21,7 @@ script:
- cd .. - 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" - 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 - git clone https://github.com/Neilpang/acmetest.git && cp -r acme.sh acmetest/ && cd acmetest
- ./letest.sh - sudo ./letest.sh
matrix: matrix: