From 269c12c598609230504ae683ff12e9dc3489ffb1 Mon Sep 17 00:00:00 2001 From: Daniel Chappuis Date: Sat, 7 Apr 2018 01:00:53 +0200 Subject: [PATCH] Edit travis file --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c79c1c35..a0a93018 100644 --- a/.travis.yml +++ b/.travis.yml @@ -218,8 +218,8 @@ after_success: # Generate code coverage report - if [ "${CODE_COVERAGE}" == "True" ]; then cd build_directory - lcov --directory 'src/' --capture --output-file coverage.info - lcov --remove coverage.info '/usr/*' --output-file coverage.info + lcov --directory . --capture --output-file coverage.info + lcov --remove coverage.info '/usr/*' '*/test/*' --output-file coverage.info lcov --list coverage.info bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports" fi