f0af2655aa
Setup repository so that we can gate using the openstack-doc-tools tools. Update documentation with details. Change-Id: I54cf9443eb154f3b06d0412cf5641ffb5254579b
28 lines
647 B
INI
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}
|