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
This commit is contained in:
parent
d1b26e00d3
commit
a9f98d343d
|
@ -1,12 +1,18 @@
|
||||||
.DS_Store
|
.DS_Store
|
||||||
target/
|
target/
|
||||||
*.xpr
|
*.xpr
|
||||||
.bak
|
|
||||||
*.swp
|
|
||||||
.idea
|
.idea
|
||||||
*~
|
|
||||||
bk-ha-guide.xml
|
bk-ha-guide.xml
|
||||||
|
|
||||||
#Ignore Vagrant Related Files
|
#Ignore Vagrant Related Files
|
||||||
acceptance_config.yml
|
acceptance_config.yml
|
||||||
boxes/*
|
boxes/*
|
||||||
/.vagrant
|
/.vagrant
|
||||||
|
|
||||||
|
# Testenvironment
|
||||||
|
.tox
|
||||||
|
|
||||||
|
# Editors
|
||||||
|
*~
|
||||||
|
.*.swp
|
||||||
|
.bak
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
openstack-doc-tools
|
|
@ -0,0 +1,27 @@
|
||||||
|
[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
|
Loading…
Reference in New Issue