diff --git a/.travis.yml b/.travis.yml index 81d55d06..a6cd9f00 100644 --- a/.travis.yml +++ b/.travis.yml @@ -102,7 +102,8 @@ matrix: - coveralls --build-root test --include include/nlohmann --gcov 'gcov-4.9' --gcov-options '\-lp' env: - COMPILER=g++-4.9 - - CMAKE_OPTIONS="-DJSON_Coverage=ON -DJSON_MultipleHeader=ON" + - CMAKE_OPTIONS=-DJSON_Coverage=ON + - CMAKE_OPTIONS_MORE=-DJSON_MultipleHeader=ON # Coverity (only for branch coverity_scan) @@ -288,7 +289,7 @@ script: # compile and execute unit tests - mkdir -p build && cd build - - cmake .. ${CMAKE_OPTIONS} -GNinja && cmake --build . --config Release + - cmake .. ${CMAKE_OPTIONS} ${CMAKE_OPTIONS_MORE} -GNinja && cmake --build . --config Release - ctest -C Release -V -j - cd ..