diff --git a/.travis.yml b/.travis.yml index 95b9c4ad..318fb278 100644 --- a/.travis.yml +++ b/.travis.yml @@ -219,7 +219,7 @@ after_success: - if [ "${CODE_COVERAGE}" == "True" ]; then cd build_directory lcov --directory . --capture --output-file coverage.info - lcov --remove coverage.info '/usr/*' --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