Skip to content

Commit 9253cbf

Browse files
committed
Add static-only build to Travis test matrix
1 parent 772c4cb commit 9253cbf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ language: c
88
compiler:
99
- clang
1010
- gcc
11+
matrix:
12+
include:
13+
- os: linux
14+
compiler: gcc
15+
env: CMAKE_OPTIONS="-DCMARK_SHARED=OFF"
1116
addons:
1217
apt:
1318
# we need a more recent cmake than travis/linux provides (at least 2.8.9):
@@ -26,7 +31,7 @@ before_install:
2631
fi
2732
2833
script:
29-
- make
34+
- (mkdir -p build && cd build && cmake $CMAKE_OPTIONS ..)
3035
- make test
3136
- |
3237
if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]

0 commit comments

Comments
 (0)