diff options
author | Marius Gedminas <marius@gedmin.as> | 2020-04-10 13:16:04 +0300 |
---|---|---|
committer | Marius Gedminas <marius@gedmin.as> | 2020-04-10 13:18:24 +0300 |
commit | 8b6a2822ea1fe28274b901bd5b05bd82dff75597 (patch) | |
tree | 0dbcbd90a338f5905c88b8f04e7d365514846ac2 | |
parent | 085df868bb797ebf05a6327548c05b23c76bed4b (diff) | |
download | zope-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.ini | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -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 |