summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Gedminas <marius@gedmin.as>2020-04-10 15:34:43 +0300
committerGitHub <noreply@github.com>2020-04-10 15:34:43 +0300
commit6bd284b27df9c233f730053e38ae201692dbe5f6 (patch)
treec7436dcd69158fc9a3237567ab0adfbf61095008
parent1c2a7b38c6b42ef611db2e4a9865948caf98e1e3 (diff)
parent8b6a2822ea1fe28274b901bd5b05bd82dff75597 (diff)
downloadzope-exceptions-6bd284b27df9c233f730053e38ae201692dbe5f6.tar.gz
Merge pull request #15 from zopefoundation/tox-refresh
tox.ini: use extras, use python3 for docs
-rw-r--r--tox.ini10
1 files changed, 4 insertions, 6 deletions
diff --git a/tox.ini b/tox.ini
index 071807e..696d65b 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