-
Notifications
You must be signed in to change notification settings - Fork 0
Codecov Setup
vhirtham edited this page Mar 14, 2018
·
5 revisions
- Add
--coverageto the cmake cxx_flags - Build the project
- Run the tests. Without runnig the tests, no data will be generated!
- Run the following commands to upload the data:
- lcov --directory build --capture --output-file coverage.info
- lcov --remove coverage.info 'usr/*' --output-file coverage.info
- bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"
- Get the link to the codecov batch on the codecov homepage from the projects settings menu.