
Add files to allow us gating via: tox -e checkbuild tox -e checkniceness etc Enhance .gitignore to ignore files used by gating and by more editors. Change-Id: Id33d04f734d438d01dd5bbd784abaa213de5dbc9
25 lines
504 B
INI
25 lines
504 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = checkbuild,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 --api-site --check-niceness
|
|
|
|
[testenv:checksyntax]
|
|
commands = openstack-doc-test --api-site --check-syntax
|
|
|
|
[testenv:checkbuild]
|
|
commands = openstack-doc-test --api-site --check-build
|