Skip to content

Commit

Permalink
Report coverage on Travis
Browse files Browse the repository at this point in the history
In the long run I want to add --fail-under=100 so Travis enforces 100%
test coverage (because Coveralls doesn't do that!).  This is complicated
because of Python 2 vs Python 3 code paths mean each Travis job gets
like 98% coverage, and I get 100% only when I combine them all.

I hear newer versions of coverage will (or maybe already do) allow
different nocover pragmas for different Python versions, so it'll be
possible with some extra work.
  • Loading branch information
mgedmin committed Feb 21, 2018
1 parent 3db55bd commit 42ce07b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -15,5 +15,6 @@ script:
- coverage run --source=irclog2html -m zope.testrunner --test-path=src
after_script:
- coveralls
- coverage report -m
notifications:
email: false

0 comments on commit 42ce07b

Please sign in to comment.