]> git.proxmox.com Git - mirror_acme.sh.git/blob - .travis.yml
sudo for travis
[mirror_acme.sh.git] / .travis.yml
1 language: shell
2 sudo: required
3
4 env:
5 global:
6 - SHFMT_URL=https://github.com/mvdan/sh/releases/download/v0.4.0/shfmt_v0.4.0_linux_amd64
7
8 addons:
9 apt:
10 sources:
11 - debian-sid # Grab shellcheck from the Debian repo (o_O)
12 packages:
13 - shellcheck
14
15 script:
16 - curl -sSL $SHFMT_URL -o ~/shfmt
17 - chmod +x ~/shfmt
18 - shellcheck -V
19 - shellcheck -e SC2021,SC2126,SC2034 **/*.sh && echo "shellcheck OK"
20 - ~/shfmt -l -w -i 2 . && echo "shfmt OK" || git diff --exit-code || (echo "Run shfmt to fix the formatting issues" && false)
21 - cd ..
22 - 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"
23 - git clone https://github.com/Neilpang/acmetest.git && cp -r acme.sh acmetest/ && cd acmetest
24 - sudo ./letest.sh
25
26
27 matrix:
28 fast_finish: true
29
30