Skip to content

Commit f174d03

Browse files
committed
Let's test re-enabling shellcheck in CI
shellcheck is a truly valuable utility. Unfortunately installing the packages from debian-sid introduces a conflict. Let's try another suggestion from: https://github.com/koalaman/shellcheck/wiki/TravisCI Refs a027588
1 parent af7332b commit f174d03

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.travis.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,12 @@ language: bash
22
dist: trusty
33
jobs:
44
include:
5-
# - stage: "Bash linting (shellcheck)"
6-
# sudo: false
7-
# addons:
8-
# apt:
9-
# sources:
10-
# - debian-sid # Grab shellcheck from the Debian repo (o_O)
11-
# packages:
12-
# - shellcheck
13-
# script: make check
5+
- stage: "Bash linting (shellcheck)"
6+
sudo: false
7+
before_install:
8+
- wget -c https://goo.gl/ZzKHFv -O - | tar -xvJ -C /tmp/
9+
- PATH="/tmp/shellcheck-latest:$PATH"
10+
script: make check
1411

1512
- stage: "Stack Tests"
1613
services: docker

0 commit comments

Comments
 (0)