Edit travis and codecov file
This commit is contained in:
parent
5339b5ea4a
commit
758fe1a6cc
3
.codecov.yml
Normal file
3
.codecov.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
ignore:
|
||||||
|
- "usr/"
|
||||||
|
- "test/"
|
|
@ -235,10 +235,5 @@ after_success:
|
||||||
|
|
||||||
# Generate code coverage report
|
# Generate code coverage report
|
||||||
- if [ "${CODE_COVERAGE}" == "True" ]; then
|
- 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";
|
bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports";
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user