database-api/tox.ini
Andreas Jaeger 948ec02306 Setup for openstack-doc-tools
Add files to allow us gating via:
tox -e checkbuild
tox -e checkniceness
etc

Add .gitignore to ignore files used by gating.

Add initial README file to document this

Change-Id: I821e1848bb364f7514c54e87f5d29d4254b9e025
2014-01-13 22:04:22 +01:00

28 lines
647 B
INI

[tox]
minversion = 1.6
envlist = checkniceness,checksyntax,checkdeletions,checkbuild
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 --api-site --check-niceness {posargs}
[testenv:checksyntax]
commands = openstack-doc-test --api-site --check-syntax {posargs}
[testenv:checkdeletions]
commands = openstack-doc-test --api-site --check-deletions {posargs}
[testenv:checkbuild]
commands = openstack-doc-test --api-site --check-build {posargs}