aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 6faa80d..f03f369 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,2 +1,10 @@
language: bash
-script: shellcheck kiss
+
+install:
+ # Install a custom version of shellcheck instead of Travis CI's default
+ - scversion=latest
+ - wget "https://storage.googleapis.com/shellcheck/shellcheck-${scversion}.linux.x86_64.tar.xz"
+ - tar --xz -xvf "shellcheck-${scversion}.linux.x86_64.tar.xz"
+ - shellcheck() { "shellcheck-${scversion}/shellcheck" "$@"; }
+
+script: shellcheck kiss