From 903b8a6e04fc99687599b446a05ec0b8569e0a55 Mon Sep 17 00:00:00 2001 From: Alexander Karzhenkov Date: Sat, 26 Dec 2020 21:14:16 +0500 Subject: [PATCH] Build as "Debug" for coverage test --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a29265a8e..e015ac45a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -97,6 +97,7 @@ matrix: - COMPILER=g++-7 - CMAKE_OPTIONS=-DJSON_Coverage=ON - MULTIPLE_HEADERS=ON + - BUILD_TYPE=Debug # Coverity (only for branch coverity_scan) @@ -324,8 +325,8 @@ script: # append CXX_STANDARD to CMAKE_OPTIONS if required - CMAKE_OPTIONS+=${CXX_STANDARD:+ -DCMAKE_CXX_STANDARD=$CXX_STANDARD -DCMAKE_CXX_STANDARD_REQUIRED=ON} - # build configuration - - CMAKE_OPTIONS+=" -DCMAKE_BUILD_TYPE=Release" + # build configuration (Release by default) + - CMAKE_OPTIONS+=" -DCMAKE_BUILD_TYPE=${BUILD_TYPE:-Release}" # compile and execute unit tests - mkdir -p build && cd build