Add new checklinks tox environment

Change-Id: I087c3573622ad83a8d942948c92e214a49e9da74
This commit is contained in:
Andreas Jaeger 2014-08-16 12:08:04 +02:00
parent 47653c6aa7
commit 499eb92e5f

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}