From 9253cbff4f28651ec31ed1e1e714c9093a1ac222 Mon Sep 17 00:00:00 2001
From: Nick Wellnhofer <wellnhofer@aevum.de>
Date: Sat, 18 Nov 2017 15:51:24 +0100
Subject: Add static-only build to Travis test matrix

---
 .travis.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to '.travis.yml')

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' ]
-- 
cgit v1.2.3