Merge "switch documentation job to new PTI"

This commit is contained in:
Zuul 2018-09-15 07:18:39 +00:00 committed by Gerrit Code Review
commit 5eafe6a9a1
2 changed files with 6 additions and 7 deletions

View File

@ -84,8 +84,8 @@
- openstack-python-jobs - openstack-python-jobs
- periodic-stable-jobs - periodic-stable-jobs
- check-requirements - check-requirements
- publish-openstack-sphinx-docs - publish-openstack-docs-pti
- release-notes-jobs - release-notes-jobs-python3
- install-guide-jobs - install-guide-jobs
check: check:
jobs: jobs:

View File

@ -27,7 +27,9 @@ commands = ostestr --concurrency 1 {posargs}
[testenv:pep8] [testenv:pep8]
basepython = python3 basepython = python3
commands = flake8 commands =
doc8 doc/source
flake8
[testenv:genconfig] [testenv:genconfig]
basepython = python3 basepython = python3
@ -54,11 +56,8 @@ commands = {posargs}
basepython = python3 basepython = python3
deps = deps =
-r{toxinidir}/doc/requirements.txt -r{toxinidir}/doc/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = commands =
doc8 doc/source sphinx-build -W -b html doc/source doc/build/html
sphinx-build -W -b html api-ref/source api-ref/build/html
[testenv:api-ref] [testenv:api-ref]
basepython = python3 basepython = python3