
Setup repository so that we can gate using the openstack-doc-tools tools. Update documentation with details. Change-Id: I8a69f2bbee0060b96a30ecd6f9a88d1678194bea
30 lines
799 B
INI
30 lines
799 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]
|
|
# ignore directories incubation and openstack-compute-api-1.0, these are
|
|
# not published
|
|
commands = openstack-doc-test --api-site --check-build --ignore-dir=incubation --ignore-dir=openstack-compute-api-1.0 {posargs}
|