Commit f51de7f1 authored by Dylan Araps's avatar Dylan Araps

travis: Use latest shellcheck

parent 041c021c
...@@ -11,7 +11,7 @@ before_install: ...@@ -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="0.5.0" # or "v0.4.7", or "latest" - scversion="latest" # 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" "$@"; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment