Add new checklinks tox environment

Change-Id: I45c00e451c530220c130786a5f9fefff9b1dd31c
This commit is contained in:
Andreas Jaeger 2014-08-16 12:06:52 +02:00
parent b3c5713aac
commit 343c36088b

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}