From c97466f5d83d11c868620539db4318c8985d7b12 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 16 Jul 2019 11:02:56 +0300 Subject: [PATCH] docs: update --- .travis.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c614574d..63c57db4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,2 +1,10 @@ language: bash -script: shellcheck -e 2034 */*/build */*/post-install + +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 -e 2034 */*/build */*/post-install