From b90c48b50f8291d9063eb216e61786831fccf322 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 17 May 2017 16:54:02 +0200 Subject: [PATCH] .travis.yml: enable Mac OS X --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 84e17880c..f8823c024 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ addons: os: - linux + - osx env: global: @@ -18,14 +19,17 @@ before_install: # C++14 - test "$TRAVIS_OS_NAME" != "linux" || sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - test "$TRAVIS_OS_NAME" != "linux" || sudo apt-get update -qq + - test "$TRAVIS_OS_NAME" != "osx" || brew update install: # C++14 - test "$TRAVIS_OS_NAME" != "linux" || sudo apt-get install -qq g++-5 + - test "$TRAVIS_OS_NAME" != "osx" || brew install cppunit script: - OPTIONS="--enable-test" - test "$TRAVIS_OS_NAME" != "linux" || export CC=gcc-5 CXX=g++-5 + - test "$TRAVIS_OS_NAME" != "osx" || OPTIONS="$OPTIONS --enable-osx" - ./autogen.sh - ./configure --disable-silent-rules --disable-dependency-tracking $OPTIONS - make