Skip to content

Commit

Permalink
Report to codecov, with different flags for tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Feb 21, 2019
1 parent 9cd4e57 commit 71a9d09
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,10 @@ script:
- pytest --cov

after_success:
- codecov --flags "py${TRAVIS_PYTHON_VERSION//./}"
# Report to codecov, with different flags for tests.
- coverage xml --include 'loguru/*'
- codecov -f coverage.xml--flags loguru "py${TRAVIS_PYTHON_VERSION//./}" --disable search gcov pycov
- coverage xml --include 'tests/*'
- codecov -f coverage.xml--flags tests "py${TRAVIS_PYTHON_VERSION//./}" --disable search gcov pycov

- cd docs && make html

0 comments on commit 71a9d09

Please sign in to comment.