Fixed issues with gcov in travis script
parent
a2552a1ac0
commit
9f911666df
|
@ -333,8 +333,6 @@ endif()
|
|||
|
||||
# Generate .gcno files when requested
|
||||
if (TGUI_BUILD_TESTS AND TGUI_USE_GCOV)
|
||||
set(CMAKE_CXX_OUTPUT_EXTENSION_REPLACE 1)
|
||||
|
||||
if (NOT (${CMAKE_CXX_FLAGS} MATCHES ".*-fprofile-arcs.*"))
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs")
|
||||
endif()
|
||||
|
|
|
@ -25,7 +25,7 @@ cd tests/
|
|||
./tests
|
||||
cd ../..
|
||||
|
||||
bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN
|
||||
bash <(curl -s https://codecov.io/bash) -x gcov-5 -a "-s /home/travis/build/texus/TGUI -pr"
|
||||
|
||||
mkdir build_gcc-4.7
|
||||
cd build_gcc-4.7
|
||||
|
|
Loading…
Reference in New Issue