Add TravisCI instructions for osx setup of shellcheck

This commit is contained in:
Jonathan Knapp 2017-09-03 11:16:57 -04:00
parent 9a3bd01ee4
commit 7751fd4974
No known key found for this signature in database
GPG Key ID: 51330F9D3F9D368E

View File

@ -1,10 +1,17 @@
language: c
script:
- bats test
- ./lint.sh
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install shellcheck; fi
before_script:
- git clone https://github.com/sstephenson/bats.git /tmp/bats
- export PATH=/tmp/bats/bin:$PATH
os:
- linux
- osx