Skip to content

Commit c35fd75

Browse files
committed
Change CMake travis to enable coverage and disable unicode
- I *think* codecov.io will merge coverage reports from cmake and build script jobs - by taking coverage info along both code paths, total coverage should increase
1 parent de187a2 commit c35fd75

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ env:
99
- DEPENDS="gfortran-4.9"
1010
- CHECK_README_PROGS="yes"
1111
matrix:
12-
# CMake build with unit tests, no documentation, no coverage analysis
13-
# Allow to fail for now until tests are fixed
14-
- BUILD_SCRIPT="mkdir cmake-build && cd cmake-build && cmake -DSKIP_DOC_GEN:BOOL=TRUE -DENABLE_UNICODE:BOOL=TRUE .. && make -j 4 check"
12+
# CMake build with unit tests, no documentation, with coverage analysis
13+
# No unicode so that coverage combined with the build script will cover unicode
14+
# and non-unicode code paths
15+
- BUILD_SCRIPT="mkdir cmake-build && cd cmake-build && cmake -DSKIP_DOC_GEN:BOOL=TRUE -DCMAKE_BUILD_TYPE=COVERAGE .. && make -j 4 check"
1516
SPECIFIC_DEPENDS="cmake nodejs"
1617
JLINT="yes"
1718
DOCS="no"
1819
FoBiS="no"
20+
CODE_COVERAGE="yes"
1921

2022
# build with build.sh, make documentation, run unit tests and perform coverage analysis
2123
- BUILD_SCRIPT="./build.sh --coverage --enable-unicode"

0 commit comments

Comments
 (0)