use setuptools to build the docs even for testing

We need to use the setuptools/pbr integration to kick off the doc build
to ensure that pbr is triggered to generate the API documentation.

Change-Id: I6d947a08f170c3379f8e7b9879077e60356b5505
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-06-28 17:15:04 -04:00
parent 4e7b853e30
commit c6705f4e0b
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
[testenv:docs]
commands = rm -rf doc/build
sphinx-build -E -W -b html doc/source doc/build/html
python setup.py build_sphinx
[testenv:flake8]
commands = flake8