introduce travis/shellcheck

This commit is contained in:
Geoffrey McClinsey 2017-12-28 01:31:13 -05:00
parent 6a71b6f185
commit 211ef14724
2 changed files with 16 additions and 0 deletions

12
.travis.yml Normal file
View File

@ -0,0 +1,12 @@
sudo: required
dist: trusty
before_install:
- echo 'deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse' | sudo tee -a /etc/apt/sources.list
- sudo apt-get -qq update
- sudo apt-get install -y shellcheck
git:
depth: 3
script: ./shellcheck.sh

4
shellcheck.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh -ev
# Shellcheck the script
shellcheck install.sh