aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2015-10-14 17:32:50 -0400
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2015-10-14 18:59:13 -0400
commit4cba4312fed9318bc5f50a9d278f7fc77d19aff0 (patch)
tree94f6b309416389ab6f3229bd7b485b46accb331e /.travis.yml
parent6eabf3c854f3786fbaa1b645ea9e9aae6e4522e4 (diff)
downloadPROJ-4cba4312fed9318bc5f50a9d278f7fc77d19aff0.tar.gz
PROJ-4cba4312fed9318bc5f50a9d278f7fc77d19aff0.zip
Enable testing on OS X.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml15
1 files changed, 14 insertions, 1 deletions
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