disable samples in coverage build

This commit is contained in:
Thomas Fussell 2016-10-31 22:47:09 -04:00
parent 1b32f46639
commit 0df2faf13a

View File

@ -24,6 +24,8 @@ matrix:
env:
- COMPILER=g++-4.9
- COVERAGE=ON
- STATIC=ON
- SAMPLES=OFF
- os: linux
compiler: gcc
@ -37,11 +39,13 @@ matrix:
env:
- COMPILER=g++-5
- COVERAGE=OFF
- STATIC=OFF
- SAMPLES=ON
script:
- mkdir build
- cd build
- cmake -D STATIC=ON -D SAMPLES=ON -D COVERAGE=$COVERAGE -D CMAKE_CXX_COMPILER=$COMPILER -D CMAKE_BUILD_TYPE=Debug ..
- cmake -D STATIC=$STATIC -D SAMPLES=$STATIC -D COVERAGE=$COVERAGE -D CMAKE_CXX_COMPILER=$COMPILER -D CMAKE_BUILD_TYPE=Debug ..
- cmake --build .
- cd bin && ./xlnt.test
- find .