From ab35ae254f3f3752b2aa218f33fbb9f6da5c55d1 Mon Sep 17 00:00:00 2001 From: Kevin Wojniak Date: Mon, 23 May 2016 20:18:41 -0700 Subject: [PATCH] Enable OS X Travis tests --- .travis.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 82070d64..ec542ff9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,14 @@ os: - linux + - osx # This makes us use Ubuntu 14 instead of 12 dist: trusty language: c script: - - sudo apt-get update - - sudo apt-get install libgtk-3-dev -y || sudo apt-cache search libgtk3 + - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update; fi + - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install libgtk-3-dev -y || sudo apt-cache search libgtk3; fi - make -f GNUmakefile - make -f GNUmakefile test - make -f GNUmakefile examples - -# TODO osx -# need to figure out how to force language: objective-c and turn off the apt-get rules