From 53760bdee5869d28b32eded0c332eb3ae480cce1 Mon Sep 17 00:00:00 2001 From: Chris Simpkins Date: Sat, 26 Aug 2017 11:19:30 -0400 Subject: [PATCH] adds OS X testing to CI test matrix, includes OS specific testing dependency install changes to .travis.yml --- .travis.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 40dd3d9c6..0f8361aa6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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