Use the new PTI for document build

For compliance with the Project Testing Interface as described in:

https://governance.openstack.org/tc/reference/project-testing-interface.html

For more detials information, please refer to:

http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I9cf0bac7edc5f4d45af2729428f92d8a6fd7860d
(cherry picked from commit 7dd27bfc7c)
This commit is contained in:
Sean McGinnis 2018-02-01 16:22:21 -06:00
parent 6f80e49b1d
commit d003263e92
3 changed files with 17 additions and 4 deletions

11
doc/requirements.txt Normal file
View File

@ -0,0 +1,11 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
sphinx>=1.6.2 # BSD
oslosphinx>=4.7.0 # Apache-2.0
reno>=1.8.0,!=2.3.1 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
testresources>=0.2.4 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD
oslotest>=1.10.0 # Apache-2.0

View File

@ -13,15 +13,15 @@ psycopg2>=2.5 # LGPL/ZPL
PyMySQL>=0.7.6 # MIT License
oslosphinx>=4.7.0 # Apache-2.0
oslotest>=1.10.0 # Apache-2.0
oslo.privsep!=1.17.0,>=1.9.0 # Apache-2.0
pyroute2!=0.4.18,!=0.4.19,!=0.4.20,>=0.4.17 # Apache-2.0 (+ dual licensed GPL2)
oslo.privsep>=1.9.0,!=1.17.0 # Apache-2.0
pyroute2>=0.4.17,!=0.4.18,!=0.4.19,!=0.4.20 # Apache-2.0 (+ dual licensed GPL2)
testrepository>=0.0.18 # Apache-2.0/BSD
testresources>=0.2.4 # Apache-2.0/BSD
testtools>=1.4.0 # MIT
testscenarios>=0.4 # Apache-2.0/BSD
WebTest>=2.0 # MIT
# This is needed for subunit-trace
reno!=2.3.1,>=1.8.0 # Apache-2.0
reno>=1.8.0,!=2.3.1 # Apache-2.0
bandit>=1.1.0 # Apache-2.0
tempest>=16.1.0 # Apache-2.0
pylint==1.4.5 # GPLv2

View File

@ -47,6 +47,7 @@ commands =
sitepackages = True
[testenv:releasenotes]
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:py27]
@ -82,7 +83,8 @@ commands =
commands = {posargs}
[testenv:docs]
commands = sphinx-build -W -b html doc/source doc/build/html
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -b html doc/source doc/build/html
[flake8]
# E125 continuation line does not distinguish itself from next logical line