Merge "Update docs build job"

This commit is contained in:
Zuul 2018-08-22 11:32:04 +00:00 committed by Gerrit Code Review
commit 046c5e548c
2 changed files with 5 additions and 7 deletions

View File

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

View File

@ -20,7 +20,9 @@ deps = bindep
commands = bindep test commands = bindep test
[testenv:docs] [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] [testenv:pep8]
whitelist_externals = bash whitelist_externals = bash