Skip to content

Commit

Permalink
Travis comes with its own shellcheck
Browse files Browse the repository at this point in the history
Do we even need to install our own?
  • Loading branch information
rylnd committed Dec 13, 2018
1 parent e101eeb commit 5350953
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,6 @@ script:
fi
before_install:
- |
install_shellcheck() {
(
for v; do
pkg=shellcheck_${v}_amd64.deb
url="http://ftp.debian.org/debian/pool/main/s/shellcheck/"
wget $url/$pkg || continue
echo "Installing $pkg"
sudo dpkg -i $pkg
break
done
)
}
install_shell() {
echo "Installing $SHELL"
sudo apt-get update -qq
Expand All @@ -53,9 +41,7 @@ before_install:
install_language_pack
fi
if [ -n "${LINT}" ]; then
install_shellcheck 0.3.5-3 0.3.4-3
elif ! type $SHELL > /dev/null; then
if ! type $SHELL > /dev/null; then
install_shell
fi
fi

0 comments on commit 5350953

Please sign in to comment.