Add new checklinks tox environment

Change-Id: I8626027acb266f598ee17eab3b89e3279f0a9adc
This commit is contained in:
Andreas Jaeger 2014-08-16 12:07:35 +02:00
parent 82747f0622
commit b8243eac20

View File

@ -1,6 +1,6 @@
[tox] [tox]
minversion = 1.6 minversion = 1.6
envlist = checkniceness,checksyntax,checkdeletions,checkbuild envlist = checkniceness,checksyntax,checkdeletions,checkbuild,checklinks
skipsdist = True skipsdist = True
[testenv] [testenv]
@ -11,6 +11,9 @@ deps = -r{toxinidir}/test-requirements.txt
[testenv:venv] [testenv:venv]
commands = {posargs} commands = {posargs}
[testenv:checklinks]
commands = openstack-doc-test --check-links {posargs}
[testenv:checkniceness] [testenv:checkniceness]
commands = openstack-doc-test --check-niceness {posargs} commands = openstack-doc-test --check-niceness {posargs}