Skip to content

Commit

Permalink
Merge pull request #57 from eile/master
Browse files Browse the repository at this point in the history
lcov/travis fix
  • Loading branch information
tribal-tec committed Nov 15, 2013
2 parents 98cf9aa + 6a11f6d commit fd52c53
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions CommonCTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANG)
endif()
if($ENV{TRAVIS})
message(STATUS "Disable code coverage on Travis, causes build timeouts")
set(LCOV)
endif()

if(LCOV AND GENHTML)
elseif(LCOV AND GENHTML)
set(COVERAGE ON)
add_custom_target(lcov-clean
COMMAND ${LCOV} -q --directory ${CMAKE_BINARY_DIR} --zerocounters
Expand Down

0 comments on commit fd52c53

Please sign in to comment.