summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini27
1 files changed, 13 insertions, 14 deletions
diff --git a/tox.ini b/tox.ini
index c22096d..5fef179 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,39 +1,38 @@
[tox]
envlist =
- py27,py35,py36,py37,pypy,pypy3,coverage,docs
+ py27,py35,py36,py37,py38,pypy,pypy3,coverage,docs
# Note: if you add new Python versions, please add them to
# [testenv:coverage] depends as well!
[testenv]
usedevelop = true
commands =
- coverage run -m zope.testrunner --test-path=src []
+ coverage run -p -m zope.testrunner --test-path=src []
+extras =
+ test
deps =
- .[test]
coverage
-setenv =
- COVERAGE_FILE=.coverage.{envname}
+# Not yet, pending https://github.com/zopefoundation/zope.publisher/issues/49
+# setenv =
+# ZOPE_INTERFACE_STRICT_IRO=1
[testenv:coverage]
-setenv =
- COVERAGE_FILE=.coverage
skip_install = true
commands =
coverage erase
coverage combine
- coverage html
- coverage xml
+ coverage html -i
+ coverage xml -i
coverage report --fail-under=100 --show-missing
# parallel mode: make sure all builds complete before we run this one
depends =
- py27,py35,py36,py37,pypy,pypy3
+ py27,py35,py36,py37,py38,pypy,pypy3
parallel_show_output = true
[testenv:docs]
basepython =
- python3.6
+ python3
commands =
sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
-deps =
- {[testenv]deps}
- .[docs]
+extras =
+ docs