Edit travis file
This commit is contained in:
parent
e7ecb1f15e
commit
e18426dd8d
|
@ -228,7 +228,7 @@ script:
|
|||
- cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} —DDOUBLE_PRECISION_ENABLED=${DOUBLE_PRECISION} -DCOMPILE_TESTS=True -DLOGS_ENABLE=${LOGGER} -DPROFILING_ENABLED=${PROFILER} -DCODE_COVERAGE_ENABLED=${CODE_COVERAGE} ../
|
||||
- make && make test ARGS="-V"
|
||||
- if [ "${VALGRIND}" == "True" ]; then
|
||||
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --error-exitcode test/tests
|
||||
#valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --error-exitcode test/tests
|
||||
fi
|
||||
|
||||
after_success:
|
||||
|
|
|
@ -33,8 +33,10 @@ OPTION(CODE_COVERAGE_ENABLED "Select this if you need to build for code coverage
|
|||
OPTION(DOUBLE_PRECISION_ENABLED "Select this if you want to compile using double precision floating
|
||||
values" OFF)
|
||||
|
||||
# Warning Compiler flags
|
||||
# Warning, Optimization Compiler flags
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
|
||||
SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g")
|
||||
SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2")
|
||||
|
||||
IF(CODE_COVERAGE_ENABLED)
|
||||
IF(CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
|
Loading…
Reference in New Issue
Block a user