Call coverage xml manually before codecov

This commit is contained in:
Mark Williams 2017-04-22 13:15:30 -07:00
parent 45a646bcd2
commit 52c2718dcb
2 changed files with 7 additions and 5 deletions

View File

@ -28,9 +28,10 @@ script:
before_install:
- pip install codecov
- pip install codecov coverage
after_success:
- tox -e coverage-report
- COVERAGE_FILE=.tox/.coverage codecov
- COVERAGE_FILE=.tox/.coverage coverage xml
- codecov -f coverage.xml

View File

@ -37,10 +37,11 @@ on_success:
# Report coverage results to codecov.io
# and export tox environment variables
- "%PYTHON%/Scripts/tox -e coverage-report"
- "%PYTHON%/Scripts/pip install codecov"
- set OS=WINDOWS
- "%PYTHON%/Scripts/pip install codecov coverage"
- set COVERAGE_FILE=.tox/.coverage
- "%PYTHON%/Scripts/codecov -e TOX_ENV OS"
- "%PYTHON%/Scripts/coverage xml"
- set OS=WINDOWS
- "%PYTHON%/Scripts/codecov -f coverage.xml -e TOX_ENV OS"
artifacts:
- path: dist\*