summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2017-11-18 15:51:24 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2017-11-18 16:16:01 +0100
commit9253cbff4f28651ec31ed1e1e714c9093a1ac222 (patch)
treefa40415766fdf1d2dc35f0814139ccad61515f72
parent772c4cbde52f1f295f66bb80a55d3db446742094 (diff)
Add static-only build to Travis test matrix
-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' ]