README - Travis script for updating shellcheck ver

Shellcheck in default Travis builds is currently a version behind
This commit is contained in:
Tim Malone 2018-03-19 11:15:28 +11:00 committed by GitHub
parent fb97aca5a6
commit 99276cb9f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 1 deletions

View File

@ -155,7 +155,19 @@ or see the [storage bucket listing](https://shellcheck.storage.googleapis.com/in
## Travis CI ## 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 ## Compiling from source