From 2867b6f25aff418e0d8a3ca7c841ad443f98cb92 Mon Sep 17 00:00:00 2001 From: Paul Bonaud Date: Wed, 31 Jul 2019 10:37:00 +0200 Subject: ci: add shellcheck to lint shell scripts in automatic tests --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3