Update docs build job

Use tox -e docs for building with the new build-tox-docs template.
Update tox.ini to use sphinx-build directly.

Change-Id: Idd8110051a78f96ed28848ff9836ade3fa59329b
This commit is contained in:
Andreas Jaeger 2018-08-21 21:04:27 +02:00
parent fb48c1fe3d
commit c352f5b1ad
2 changed files with 5 additions and 7 deletions

View File

@ -1,10 +1,6 @@
- project:
check:
jobs:
- build-sphinx-docs
gate:
jobs:
- build-sphinx-docs
templates:
- build-tox-docs
post:
jobs:
- publish-zuul-docs

View File

@ -20,7 +20,9 @@ deps = bindep
commands = bindep test
[testenv:docs]
commands = python setup.py build_sphinx
commands =
sphinx-build -E -W -d doc/build/doctrees -b html doc/source/ doc/build/html
[testenv:pep8]
whitelist_externals = bash