aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPaul Bonaud <paul.bonaud@fretlink.com>2019-07-31 10:37:00 +0200
committerPaul Bonaud <paul.bonaud@fretlink.com>2019-07-31 14:18:39 +0200
commit2867b6f25aff418e0d8a3ca7c841ad443f98cb92 (patch)
treea81f23b9af49ab36542c2da3b9be64f3f38ffbec
parentfa045db6b7d85f1c5aa53b8fba86958bde4b368b (diff)
downloadansible-clever-2867b6f25aff418e0d8a3ca7c841ad443f98cb92.tar.gz
ansible-clever-2867b6f25aff418e0d8a3ca7c841ad443f98cb92.tar.zst
ansible-clever-2867b6f25aff418e0d8a3ca7c841ad443f98cb92.zip
ci: add shellcheck to lint shell scripts in automatic tests
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 720eade..36019b8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,7 +4,7 @@ language: nix
4sudo: false 4sudo: false
5 5
6install: 6install:
7 - nix-env -i python2.7-ansible python2.7-ansible-lint 7 - nix-env -i python2.7-ansible python2.7-ansible-lint ShellCheck-0.6.0
8 - nix-env -if ./dhall-1.21.0.nix 8 - nix-env -if ./dhall-1.21.0.nix
9 9
10 # Check ansible version 10 # Check ansible version
@@ -20,6 +20,7 @@ script:
20 # Basic role syntax check 20 # Basic role syntax check
21 - ansible-playbook tests/test.yml -i tests/inventory --syntax-check 21 - ansible-playbook tests/test.yml -i tests/inventory --syntax-check
22 - ansible-lint . 22 - ansible-lint .
23 - shellcheck **/*.sh
23 - scripts/dhall_check.sh 24 - scripts/dhall_check.sh
24 25
25notifications: 26notifications: