Changeset View
Changeset View
Standalone View
Standalone View
tox.ini
[tox] | [tox] | ||||
envlist=flake8 | envlist=flake8 | ||||
[testenv] | [testenv] | ||||
basepython = python3 | basepython = python3 | ||||
passenv = SPHINXOPTS | passenv = SPHINXOPTS | ||||
[testenv:sphinx] | [testenv:sphinx] | ||||
deps = | deps = | ||||
django < 2 | django < 2 | ||||
.[testing] | .[building] | ||||
pifpaf | pifpaf | ||||
commands = | commands = | ||||
{envpython} -m pifpaf run postgresql -- make -C docs html | {envpython} -m pifpaf run postgresql -- make -C docs {posargs:html} | ||||
[testenv:sphinx-dev] | [testenv:sphinx-dev] | ||||
deps = | deps = | ||||
django < 2 | django < 2 | ||||
-rrequirements-swh-dev.txt | -rrequirements-swh-dev.txt | ||||
pifpaf | pifpaf | ||||
commands = | commands = | ||||
{envpython} -m pifpaf run postgresql -- make -C docs html | {envpython} -m pifpaf run postgresql -- make -C docs {posargs:html} | ||||
[testenv:flake8] | [testenv:flake8] | ||||
skip_install = true | skip_install = true | ||||
deps = | deps = | ||||
flake8 | flake8 | ||||
commands = | commands = | ||||
{envpython} -m flake8 | {envpython} -m flake8 |