summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini18
1 files changed, 11 insertions, 7 deletions
diff --git a/tox.ini b/tox.ini
index d4a3cf9..757b7d4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,25 +1,29 @@
[tox]
envlist =
- py27,py34,py35,py36,py37,pypy,pypy3,coverage,docs
+ py27,py35,py36,py37,pypy,pypy3,coverage,docs
[testenv]
commands =
- zope-testrunner --test-path=src []
+ zope-testrunner --test-path=src {posargs:-pvc}
sphinx-build -b doctest -d {envdir}/doctrees docs {envdir}/doctest
-deps =
- .[test,docs,compile]
+extras =
+ test
+ docs
+ compile
[testenv:coverage]
usedevelop = true
basepython =
python3.6
commands =
- coverage run -m zope.testrunner --test-path=src []
- coverage run -a -m sphinx -b doctest -d {envdir}/.cache/doctrees docs {envdir}/.cache/doctest
+ coverage erase
+ coverage run -p -m zope.testrunner --test-path=src {posargs:-pvc}
+ coverage run -p -m sphinx -b doctest -d {envdir}/.cache/doctrees docs {envdir}/.cache/doctest
+ coverage combine
coverage report --fail-under=100
deps =
- {[testenv]deps}
coverage
+parallel_show_output = true
[testenv:docs]
basepython =