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
12
.gitignore
vendored
12
.gitignore
vendored
@ -1,12 +1,18 @@
|
||||
.DS_Store
|
||||
target/
|
||||
*.xpr
|
||||
.bak
|
||||
*.swp
|
||||
.idea
|
||||
*~
|
||||
bk-ha-guide.xml
|
||||
|
||||
#Ignore Vagrant Related Files
|
||||
acceptance_config.yml
|
||||
boxes/*
|
||||
/.vagrant
|
||||
|
||||
# Testenvironment
|
||||
.tox
|
||||
|
||||
# Editors
|
||||
*~
|
||||
.*.swp
|
||||
.bak
|
||||
|
1
test-requirements.txt
Normal file
1
test-requirements.txt
Normal file
@ -0,0 +1 @@
|
||||
openstack-doc-tools
|
27
tox.ini
Normal file
27
tox.ini
Normal file
@ -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
Block a user