aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-11-10 13:33:29 +0000
committermerakor <cem@ckyln.com>2021-11-10 13:33:29 +0000
commitadf1d4b22200a1e70c84713fce591ea6e163a9b5 (patch)
tree44bc78fe6667d3a32fe3bc4faa431a1173db1d50
parente3cdc253f0509a2c325381748348a896f7a683a7 (diff)
downloadcpt-adf1d4b22200a1e70c84713fce591ea6e163a9b5.tar.gz
properly use the latest shellcheck
FossilOrigin-Name: 5b741d2fcefdf1f31a76c74edc29390c240a732a91e5beec9f9f2226a31a9f12
-rw-r--r--.build.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.build.yml b/.build.yml
index 99a4015..2d07bfa 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,11 +1,10 @@
-image: alpine/latest
+image: alpine/edge
packages:
- musl-dev
- gcc
- bison
- curl
- rsync
- - shellcheck
- emacs-nox
- texinfo
- gzip
@@ -20,13 +19,17 @@ tasks:
git clone --quiet https://git.sr.ht/~mcf/b3sum
cd b3sum
sudo make PREFIX=/usr install
+ - install-shellspec: |
+ curl -fsSL https://git.io/shellspec | sudo sh -s -- -y -p /usr
+ - install-shellcheck: |
+ curl -fsLo- https://github.com/koalaman/shellcheck/releases/download/v0.8.0/shellcheck-v0.8.0.linux.x86_64.tar.xz | pax -Jr
+ sudo install -Dm755 shellcheck-v0.8.0/shellcheck /usr/bin/shellcheck
- build: |
cd cpt
./configure
make
- test: |
cd cpt
- curl -fsSL https://git.io/shellspec | sudo sh -s -- -y -p /usr
make test
triggers:
- action: email