mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
tox: Make further use of factor-conditional deps
This is how we reduce boilerplate [1]. Succinctness FTW. [1] https://tox.readthedocs.io/en/latest/config.html#factors-and-factor-conditional-settings Signed-off-by: Stephen Finucane <stephen@that.guru>
This commit is contained in:
parent
5d812ccefc
commit
fd1df0815b
24
tox.ini
24
tox.ini
@ -10,32 +10,16 @@ passenv = https_proxy http_proxy no_proxy
|
||||
# https://tox.readthedocs.io/en/latest/config.html#confval-extras=MULTI-LINE-LIST
|
||||
deps =
|
||||
.[test,websupport]
|
||||
du11: docutils==0.11
|
||||
du12: docutils==0.12
|
||||
du13: docutils==0.13.1
|
||||
du14: docutils==0.14
|
||||
setenv =
|
||||
SPHINX_TEST_TEMPDIR = {envdir}/testbuild
|
||||
coverage: PYTEST_ADDOPTS = --cov sphinx
|
||||
commands=
|
||||
{envpython} -Wall tests/run.py --durations 25 {posargs}
|
||||
|
||||
[testenv:du11]
|
||||
deps=
|
||||
docutils==0.11
|
||||
{[testenv]deps}
|
||||
|
||||
[testenv:du12]
|
||||
deps=
|
||||
docutils==0.12
|
||||
{[testenv]deps}
|
||||
|
||||
[testenv:du13]
|
||||
deps=
|
||||
docutils==0.13.1
|
||||
{[testenv]deps}
|
||||
|
||||
[testenv:du14]
|
||||
deps=
|
||||
docutils==0.14
|
||||
{[testenv]deps}
|
||||
|
||||
[testenv:flake8]
|
||||
commands=flake8
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user