summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index abb33cb..b8818c3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,6 +8,11 @@ language: c
compiler:
- clang
- gcc
+matrix:
+ include:
+ - os: linux
+ compiler: gcc
+ env: CMAKE_OPTIONS="-DCMARK_SHARED=OFF"
addons:
apt:
# we need a more recent cmake than travis/linux provides (at least 2.8.9):
@@ -26,7 +31,7 @@ before_install:
fi
script:
- - make
+ - (mkdir -p build && cd build && cmake $CMAKE_OPTIONS ..)
- make test
- |
if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]