Skip to content

Commit

Permalink
adding integration with CodeCov
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfsilva committed Mar 26, 2020
1 parent 9efea6b commit 551b2ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -52,6 +52,7 @@ after_success:
- if [[ "$TRAVIS_OS_NAME" == "linux" && $DIST == "ubuntu-bionic" && $COMPILER == "gcc7" && $batsched == "off" ]] || [[ "$TRAVIS_OS_NAME" == "linux" && $DIST == "ubuntu-bionic" && $COMPILER == "gcc7-batsched" && $batsched == "on" ]]; then
docker exec -w /home/wrench/wrench/build -it wrench lcov --directory . --capture --output-file coverage.info;
docker exec -w /home/wrench/wrench/build -it wrench lcov --remove coverage.info '*/test/*' '*/examples/*' '*/include/*' --output-file coverage.info;
docker exec -w /home/wrench/wrench/build -it wrench bash <(curl -s https://codecov.io/bash) -f coverage.info -t ${CODECOV_TOKEN};
docker exec -w /home/wrench/wrench/build -it wrench coveralls-lcov --repo-token ${COVERALLS_TOKEN} coverage.info;

docker cp wrench:/home/wrench/wrench/build .;
Expand Down

0 comments on commit 551b2ab

Please sign in to comment.