From 99276cb9f55e10064d79ad78ab9c54948bfd3654 Mon Sep 17 00:00:00 2001 From: Tim Malone Date: Mon, 19 Mar 2018 11:15:28 +1100 Subject: [PATCH] README - Travis script for updating shellcheck ver Shellcheck in default Travis builds is currently a version behind --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 310e5b0..e951649 100644 --- a/README.md +++ b/README.md @@ -155,7 +155,19 @@ or see the [storage bucket listing](https://shellcheck.storage.googleapis.com/in ## Travis CI -Travis CI now integrated ShellCheck by default, you don't need to manually install it. +Travis CI has now integrated ShellCheck by default, so you don't need to manually install it. + +However, if you want the _latest_ version you may have to still install it yourself: + + install: + + # Install latest version of shellcheck. + - wget https://storage.googleapis.com/shellcheck/shellcheck-latest.linux.x86_64.tar.xz + - tar --xz -xvf shellcheck-latest.linux.x86_64.tar.xz + - shellcheck-latest/shellcheck --version + + script: + - shellcheck-latest/shellcheck *.sh ## Compiling from source -- GitLab