Merge "Allow passing arguments to tox"

This commit is contained in:
Jenkins 2014-01-04 09:33:19 +00:00 committed by Gerrit Code Review
commit 9226309738

12
tox.ini
View File

@ -1,7 +1,7 @@
[tox]
minversion = 1.6
envlist = checkbuild,checkdeletions,checkniceness,checksyntax
skipsdist=True
envlist = checkniceness,checksyntax,checkdeletions,checkbuild
skipsdist = True
[testenv]
setenv =
@ -15,13 +15,13 @@ deps = -r{toxinidir}/test-requirements.txt
commands = {posargs}
[testenv:checkniceness]
commands = openstack-doc-test --check-niceness
commands = openstack-doc-test --check-niceness {posargs}
[testenv:checksyntax]
commands = openstack-doc-test --check-syntax
commands = openstack-doc-test --check-syntax {posargs}
[testenv:checkdeletions]
commands = openstack-doc-test --check-deletions
commands = openstack-doc-test --check-deletions {posargs}
[testenv:checkbuild]
commands = openstack-doc-test --check-build
commands = openstack-doc-test --check-build {posargs}