Update docs build job

Use tox -e docs for building with the new build-tox-docs template.
Remove the irrelevant files list for docs building, these files
are obsolete, we don't need to special case them anymore.

Enable warnings as error when building in tox.ini.

Depends-On: https://review.openstack.org/594802
Change-Id: I436dc438677e32d044b79d797f95cdf68152d538
This commit is contained in:
Andreas Jaeger 2018-08-21 20:44:48 +02:00 committed by Andreas Jaeger
parent f471d1f648
commit 978d964518
2 changed files with 3 additions and 13 deletions

View File

@ -65,14 +65,10 @@
javascript_copy_links: false
- project:
templates:
- build-tox-docs
check:
jobs:
- build-sphinx-docs:
irrelevant-files:
- zuul/cmd/migrate.py
- playbooks/zuul-migrate/.*
vars:
sphinx_python: python3
- tox-pep8
- tox-py35:
irrelevant-files:
@ -105,12 +101,6 @@
voting: false
gate:
jobs:
- build-sphinx-docs:
irrelevant-files:
- zuul/cmd/migrate.py
- playbooks/zuul-migrate/.*
vars:
sphinx_python: python3
- tox-pep8
- tox-py35:
irrelevant-files:

View File

@ -65,7 +65,7 @@ commands =
[testenv:docs]
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]
commands = {posargs}