Permalink
Browse files

Travis: report coverage also to codecov.io

  • Loading branch information...
blueyed authored and davidhalter committed Apr 27, 2018
1 parent 6748faa commit d10eff5625e579ee46db339008022d9b7e7d6bc3
Showing with 7 additions and 3 deletions.
  1. +7 −3 .travis.yml
View
@@ -50,7 +50,11 @@ install:
script:
- tox
after_script:
- - if [ $TOXENV == "cov" ]; then
- pip install --quiet coveralls;
- coveralls;
+ - |
+ if [ $TOXENV == "cov" ]; then
+ pip install --quiet codecov coveralls
+ coverage xml
+ coverage report -m
+ coveralls
+ bash <(curl -s https://codecov.io/bash) -X gcov -X coveragepy -X search -X fix -X xcode -f coverage.xml
fi

0 comments on commit d10eff5

Please sign in to comment.