Skip to content

Commit 71a9d09

Browse files
committed
Report to codecov, with different flags for tests.
1 parent 9cd4e57 commit 71a9d09

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,10 @@ script:
1616
- pytest --cov
1717

1818
after_success:
19-
- codecov --flags "py${TRAVIS_PYTHON_VERSION//./}"
19+
# Report to codecov, with different flags for tests.
20+
- coverage xml --include 'loguru/*'
21+
- codecov -f coverage.xml--flags loguru "py${TRAVIS_PYTHON_VERSION//./}" --disable search gcov pycov
22+
- coverage xml --include 'tests/*'
23+
- codecov -f coverage.xml--flags tests "py${TRAVIS_PYTHON_VERSION//./}" --disable search gcov pycov
24+
2025
- cd docs && make html

0 commit comments

Comments
 (0)