Edit travis file
This commit is contained in:
parent
95df1c9fdf
commit
6a4dc24af1
14
.travis.yml
14
.travis.yml
|
@ -216,10 +216,10 @@ script:
|
|||
after_success:
|
||||
|
||||
# Generate code coverage report
|
||||
- cd build_directory
|
||||
- lcov --directory . --capture --output-file coverage.info
|
||||
- lcov --remove coverage.info '/usr/*' --output-file coverage.info
|
||||
- lcov --list coverage.info
|
||||
|
||||
# Uploading code coverage report to CodeCov
|
||||
- bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"
|
||||
- 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 --list coverage.info
|
||||
bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user