travis: Use latest shellcheck

This commit is contained in:
Dylan Araps 2018-06-03 11:15:13 +10:00
parent f7f47799ea
commit f2e2cb94e9
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ before_install:
install: install:
# Install a custom version of shellcheck instead of Travis CI's default # Install a custom version of shellcheck instead of Travis CI's default
- scversion="latest" # or "v0.4.7", or "latest" - scversion="0.5.0" # or "v0.4.7", or "latest"
- wget "https://storage.googleapis.com/shellcheck/shellcheck-${scversion}.linux.x86_64.tar.xz" - wget "https://storage.googleapis.com/shellcheck/shellcheck-${scversion}.linux.x86_64.tar.xz"
- tar --xz -xvf "shellcheck-${scversion}.linux.x86_64.tar.xz" - tar --xz -xvf "shellcheck-${scversion}.linux.x86_64.tar.xz"
- shellcheck() { "shellcheck-${scversion}/shellcheck" "$@"; } - shellcheck() { "shellcheck-${scversion}/shellcheck" "$@"; }