Update docs build job

Use tox -e docs for building with the new build-tox-docs template.
Update tox.ini to enable warnings as errors to follow previous
behaviour.

Change-Id: I8c4547c3e835515744b9a94ccfeb258989169051
This commit is contained in:
Andreas Jaeger 2018-08-21 20:58:58 +02:00
parent 65b7006fd5
commit 711d5f7b0e
2 changed files with 3 additions and 7 deletions

View File

@ -120,6 +120,8 @@
NODEPOOL_PAUSE_DEBIAN_STRETCH_DIB: false
- project:
templates:
- build-tox-docs
check:
jobs:
- tox-cover
@ -131,9 +133,6 @@
voting: false
- nodepool-functional-py35-src:
voting: false
- build-sphinx-docs:
vars:
sphinx_python: python3
- pbrx-build-container-images:
vars:
pbrx_prefix: zuul
@ -141,9 +140,6 @@
jobs:
- tox-pep8
- tox-py35
- build-sphinx-docs:
vars:
sphinx_python: python3
- pbrx-build-container-images:
vars:
pbrx_prefix: zuul

View File

@ -46,7 +46,7 @@ commands =
[testenv:docs]
basepython = python3
commands =
sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html
sphinx-build -E -W -d doc/build/doctrees -b html doc/source/ doc/build/html
[testenv:venv]
basepython = python3