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 7
7
- 7.0
8
8
- 5.6
9
9
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
+
10
15
before_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
20
21
- gpg --keyserver hkp://keys.gnupg.net --recv-keys C4133165DF5EB4BAEABDADCACF1E7823C5339B59
21
22
22
23
script :
You can’t perform that action at this time.
0 commit comments