From 4cba4312fed9318bc5f50a9d278f7fc77d19aff0 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Wed, 14 Oct 2015 17:32:50 -0400 Subject: Enable testing on OS X. --- .travis.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 45294a86..b7d6dc68 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,15 @@ compiler: - gcc - clang +os: + - linux + - osx + +matrix: + exclude: + - os: osx + compiler: gcc + before_install: - pip install --user cpp-coveralls @@ -81,7 +90,11 @@ install: - PROJ_LIB=../nad src/multistresstest - cd .. # autoconf build with grids and coverage - - CFLAGS="--coverage" LDFLAGS="-lgcov" ./configure + - if [ $TRAVIS_OS_NAME == "osx" ]; then + CFLAGS="--coverage" ./configure; + else + CFLAGS="--coverage" LDFLAGS="-lgcov" ./configure; + fi - make -j3 - make check - mv src/.libs/*.gc* src -- cgit v1.2.3