Skip to content

Commit

Permalink
Merge pull request #10 from zopefoundation/toxcover
Browse files Browse the repository at this point in the history
A tox environment for coverage.
  • Loading branch information
jamadden committed Jul 22, 2017
2 parents d230f1a + 895891b commit 5ffcd6b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tox.ini
Expand Up @@ -2,7 +2,16 @@
envlist = py27,py34,py35,py36,pypy,pypy3

[testenv]
usedevelop = true
commands =
zope-testrunner --test-path=src []
deps =
.[test]

[testenv:coverage]
commands =
coverage run -m zope.testrunner --test-path=src []
coverage report -m
deps =
{[testenv]deps}
coverage

0 comments on commit 5ffcd6b

Please sign in to comment.