]> git.immae.eu Git - github/fretlink/ansible-clever.git/commitdiff
ci: add shellcheck to lint shell scripts in automatic tests
authorPaul Bonaud <paul.bonaud@fretlink.com>
Wed, 31 Jul 2019 08:37:00 +0000 (10:37 +0200)
committerPaul Bonaud <paul.bonaud@fretlink.com>
Wed, 31 Jul 2019 12:18:39 +0000 (14:18 +0200)
.travis.yml

index 720eade94f5248aa1cf8355158fddc550f748aba..36019b874d04257ff35fd8b2ddb47eb3939acba1 100644 (file)
@@ -4,7 +4,7 @@ language: nix
 sudo: false
 
 install:
-  - nix-env -i python2.7-ansible python2.7-ansible-lint
+  - nix-env -i python2.7-ansible python2.7-ansible-lint ShellCheck-0.6.0
   - nix-env -if ./dhall-1.21.0.nix
 
   # Check ansible version
@@ -20,6 +20,7 @@ script:
   # Basic role syntax check
   - ansible-playbook tests/test.yml -i tests/inventory --syntax-check
   - ansible-lint .
+  - shellcheck **/*.sh
   - scripts/dhall_check.sh
 
 notifications: