-
David Douard authored
to prevent weird race condition when both requirements-swh.txt and requirements-swh-dev.txt are added as requirements. This is needed to make: tox -e sphinx-dev work as expected, ie. with swh packages installed from sources rather than from pypi.
David Douard authoredto prevent weird race condition when both requirements-swh.txt and requirements-swh-dev.txt are added as requirements. This is needed to make: tox -e sphinx-dev work as expected, ie. with swh packages installed from sources rather than from pypi.
tox.ini 466 B
[tox]
envlist=flake8
[testenv]
basepython = python3
passenv = SPHINXOPTS
[testenv:sphinx]
deps =
django < 2
.[building]
pifpaf
commands =
{envpython} -m pifpaf run postgresql -- make -C docs {posargs:html}
[testenv:sphinx-dev]
deps =
django < 2
-rrequirements-swh-dev.txt
pifpaf
commands =
{envpython} -m pifpaf run postgresql -- make -C docs {posargs:html}
[testenv:flake8]
skip_install = true
deps =
flake8
commands =
{envpython} -m flake8