Not sure why we weren't running docs build tests as part of the
common-packer verify build but this patch updates tox to enable
those build tests.
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: I7d28bdf8ace6946bcf1b6a2d08bc1408875fce96
[tox]
minversion = 1.6
envlist =
+ docs,
+ docs-linkcheck,
pre-commit
skipsdist = true
[testenv:docs-linkcheck]
basepython = python3
-deps = -rrequirements.txt
+deps = -rdocs/requirements.txt
commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
[testenv:pre-commit]