File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 77 - 7.0
88 - 5.6
99
10+ env :
11+ global :
12+ - PATH="${HOME}/bin:${PATH}"
13+ - SHELLCHECK_URL="https://s3.amazonaws.com/travis-blue-public/binaries/ubuntu/14.04/x86_64/shellcheck-0.4.5.tar.bz2"
14+
1015before_install :
11- before_install :
12- - sudo apt-get -qq update
13- - sudo apt-get install -y cabal-install
14- - cabal update
15- - git clone https://github.com/koalaman/shellcheck.git
16- - cd shellcheck
17- - cabal install
18- - cd ..
19- - export PATH="$HOME/.cabal/bin:$PATH"
16+ - if ! shellcheck --version &>/dev/null; then
17+ curl -sSL "https://s3.amazonaws.com/travis-blue-public/binaries/ubuntu/14.04/x86_64/shellcheck-0.4.5.tar.bz2"
18+ | tar --exclude 'SHA256SUMS' --strip-components=1 -C "${HOME}/bin" -xjf -;
19+ fi
20+ - shellcheck --version
2021 - gpg --keyserver hkp://keys.gnupg.net --recv-keys C4133165DF5EB4BAEABDADCACF1E7823C5339B59
2122
2223script :
You can’t perform that action at this time.
0 commit comments