summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini14
1 files changed, 13 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index aa4ae39..a32f101 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,7 +2,7 @@
envlist =
# Jython support pending 2.7 support, due 2012-07-15 or so. See:
# http://fwierzbicki.blogspot.com/2012/03/adconion-to-fund-jython-27.html
- py27,py27-minimal,pypy,py34,py35,py36,py37,pypy3,docs
+ py27,py27-minimal,pypy,py34,py35,py36,py37,pypy3,docs,coverage
[mindeps]
deps =
@@ -58,3 +58,15 @@ commands =
deps =
{[fulldeps]deps}
.[docs]
+
+[testenv:coverage]
+basepython =
+ python3.6
+usedevelop = true
+commands =
+ coverage run -m zope.testrunner --test-path=src
+ coverage run -a -m sphinx.cmd.build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
+ coverage report --fail-under=100
+deps =
+ {[testenv]deps}
+ coverage