From d10eff5625e579ee46db339008022d9b7e7d6bc3 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Fri, 27 Apr 2018 10:35:45 +0200 Subject: [PATCH] Travis: report coverage also to codecov.io --- .travis.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5dc20685..cb2c0ef8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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