Travis: report coverage also to codecov.io

This commit is contained in:
Daniel Hahler
2018-04-27 10:35:45 +02:00
committed by Dave Halter
parent 6748faa071
commit d10eff5625

View File

@@ -50,7 +50,11 @@ install:
script: script:
- tox - tox
after_script: after_script:
- if [ $TOXENV == "cov" ]; then - |
pip install --quiet coveralls; if [ $TOXENV == "cov" ]; then
coveralls; 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 fi