diff options
author | Marius Gedminas <marius@gedmin.as> | 2020-04-10 15:34:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-10 15:34:43 +0300 |
commit | 6bd284b27df9c233f730053e38ae201692dbe5f6 (patch) | |
tree | c7436dcd69158fc9a3237567ab0adfbf61095008 | |
parent | 1c2a7b38c6b42ef611db2e4a9865948caf98e1e3 (diff) | |
parent | 8b6a2822ea1fe28274b901bd5b05bd82dff75597 (diff) | |
download | zope-exceptions-6bd284b27df9c233f730053e38ae201692dbe5f6.tar.gz |
Merge pull request #15 from zopefoundation/tox-refresh
tox.ini: use extras, use python3 for docs
-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 |