From 758fe1a6cc549618271d477cd31250aff32dc2db Mon Sep 17 00:00:00 2001 From: Daniel Chappuis Date: Sat, 14 Apr 2018 19:59:11 +0200 Subject: [PATCH] Edit travis and codecov file --- .codecov.yml | 3 +++ .travis.yml | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 .codecov.yml diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 00000000..5d4e53f4 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,3 @@ +ignore: + - "usr/" + - "test/" diff --git a/.travis.yml b/.travis.yml index 6c7b4c0c..8a8e1a04 100644 --- a/.travis.yml +++ b/.travis.yml @@ -235,10 +235,5 @@ 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/*' --output-file coverage.info; - lcov --remove coverage.info '/test/*' --output-file coverage.info; - lcov --list coverage.info; bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"; fi