openstack-manuals/tox.ini
Andreas Jaeger a9f98d343d Setup for openstack-doc-tools
Add files to allow gating via:
tox -e checkbuild
tox -e checkniceness
etc

Also, enhance .gitignore to ignore files used by gating
via openstack-doc-tools

Change-Id: I96b669e14425265a033a549264c2158e2b1afa3e
2013-12-31 17:38:46 +01:00

28 lines
557 B
INI

[tox]
minversion = 1.6
envlist = checkbuild,checkdeletions,checkniceness,checksyntax
skipsdist=True
[testenv]
setenv =
VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
deps = -r{toxinidir}/test-requirements.txt
[testenv:venv]
commands = {posargs}
[testenv:checkniceness]
commands = openstack-doc-test --check-niceness
[testenv:checksyntax]
commands = openstack-doc-test --check-syntax
[testenv:checkdeletions]
commands = openstack-doc-test --check-deletions
[testenv:checkbuild]
commands = openstack-doc-test --check-build