]> git.proxmox.com Git - mirror_acme.sh.git/blob - .travis.yml
e78787f68776fd4d04daa68670e4a0afa134154c
[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 .
21 - git diff --exit-code && echo "shfmt OK"
22 - cd ..
23 - 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"
24 - git clone https://github.com/Neilpang/acmetest.git && cp -r acme.sh acmetest/ && cd acmetest
25 - sudo ./letest.sh
26
27
28 matrix:
29 fast_finish: true
30
31