Fixed issues with gcov in travis script

0.8
Bruno Van de Velde 2015-09-06 16:31:19 +02:00
parent a2552a1ac0
commit 9f911666df
2 changed files with 1 additions and 3 deletions

View File

@ -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()

View File

@ -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