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