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: env:
- COMPILER=g++-4.9 - COMPILER=g++-4.9
- COVERAGE=ON - COVERAGE=ON
- STATIC=ON
- SAMPLES=OFF
- os: linux - os: linux
compiler: gcc compiler: gcc
@ -37,11 +39,13 @@ matrix:
env: env:
- COMPILER=g++-5 - COMPILER=g++-5
- COVERAGE=OFF - COVERAGE=OFF
- STATIC=OFF
- SAMPLES=ON
script: script:
- mkdir build - mkdir build
- cd 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 . - cmake --build .
- cd bin && ./xlnt.test - cd bin && ./xlnt.test
- find . - find .