adds OS X testing to CI test matrix, includes OS specific testing dependency install changes to .travis.yml

pull/291/head
Chris Simpkins 2017-08-26 11:19:30 +07:00
parent 039c4669fc
commit 53760bdee5
1 changed files with 8 additions and 2 deletions

@ -1,14 +1,20 @@
sudo: true
language: python
os:
- linux
- osx
env:
- TARGET="lint"
- TARGET="build-with-dependencies"
before_script:
- pip install ufolint
- sudo apt-get -qq update
- sudo apt-get install -y shellcheck
- if [ $TRAVIS_OS_NAME = "linux" ]; then sudo apt-get -qq update; fi
- if [ $TRAVIS_OS_NAME = "linux" ]; then sudo apt-get install -y shellcheck; fi
- if [ $TRAVIS_OS_NAME = "osx" ]; then brew update; fi
- if [ $TRAVIS_OS_NAME = "osx" ]; then brew outdated shellcheck || brew upgrade shellcheck; fi
script:
- make -j $TARGET