From 208c18497b5395ad02f00c193d90085c67b9eb94 Mon Sep 17 00:00:00 2001 From: Daniel Chappuis Date: Sat, 7 Apr 2018 00:24:10 +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 318fb278..c79c1c35 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 . --capture --output-file coverage.info - lcov --remove coverage.info '/usr/*' 'test/*' --output-file coverage.info + lcov --directory 'src/' --capture --output-file coverage.info + lcov --remove coverage.info '/usr/*' --output-file coverage.info lcov --list coverage.info bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports" fi