summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Gedminas <marius@gedmin.as>2020-04-10 13:16:04 +0300
committerMarius Gedminas <marius@gedmin.as>2020-04-10 13:18:24 +0300
commit8b6a2822ea1fe28274b901bd5b05bd82dff75597 (patch)
tree0dbcbd90a338f5905c88b8f04e7d365514846ac2
parent085df868bb797ebf05a6327548c05b23c76bed4b (diff)
downloadzope-exceptions-tox-refresh.tar.gz
tox.ini: use extras, use python3 for docstox-refresh
We still need to use Python 2 for coverage because we have a bunch of Python-2-only fallback paths in exceptionformatter.py.
-rw-r--r--tox.ini10
1 files changed, 4 insertions, 6 deletions
diff --git a/tox.ini b/tox.ini
index 58762f4..4c7db81 100644
--- a/tox.ini
+++ b/tox.ini
@@ -6,8 +6,7 @@ envlist =
commands =
zope-testrunner --test-path=src []
sphinx-build -b doctest -d {envdir}/.cache/doctrees docs {envdir}/.cache/doctest
-deps =
- .[test,docs]
+extras = test,docs
[testenv:coverage]
usedevelop = true
@@ -16,14 +15,13 @@ basepython =
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 report --fail-under=100
+ coverage report -m --fail-under=100
deps =
- {[testenv]deps}
coverage
[testenv:docs]
basepython =
- python2.7
+ python3
commands =
- sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
+ sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest