From: Paul Bonaud Date: Wed, 31 Jul 2019 08:37:00 +0000 (+0200) Subject: ci: add shellcheck to lint shell scripts in automatic tests X-Git-Tag: v1.25~2^2~1 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=2867b6f25aff418e0d8a3ca7c841ad443f98cb92;p=github%2Ffretlink%2Fansible-clever.git ci: add shellcheck to lint shell scripts in automatic tests --- diff --git a/.travis.yml b/.travis.yml index 720eade..36019b8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: