diff options
| author | Guoqiang Ding <dingguoqiang@cloudin.cn> | 2017-12-28 23:07:09 +0800 |
|---|---|---|
| committer | Guoqiang Ding <dingguoqiang@cloudin.cn> | 2017-12-28 16:16:28 +0000 |
| commit | 42e0037cd055d81d9452f046c347f8e469d27350 (patch) | |
| tree | 139b1164722469a3a498694830e859f1445de8c7 | |
| parent | 5e00034d8e0c82dfa904997c36bf15e684fe9961 (diff) | |
| download | python-openstackclient-42e0037cd055d81d9452f046c347f8e469d27350.tar.gz | |
Update new documentation PTI jobs
For compliance with the Project Testing Interface as described in [1].
For more detailed information, please refer to [2].
[1] https://governance.openstack.org/tc/reference/project-testing-interface.html
[2] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
Change-Id: I7e8c47dead1e019e8705db3ff7559dd39b1d90d9
| -rw-r--r-- | doc/requirements.txt | 3 | ||||
| -rw-r--r-- | test-requirements.txt | 3 | ||||
| -rw-r--r-- | tox.ini | 14 |
3 files changed, 15 insertions, 5 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt new file mode 100644 index 00000000..ea4c643b --- /dev/null +++ b/doc/requirements.txt @@ -0,0 +1,3 @@ +openstackdocstheme>=1.17.0 # Apache-2.0 +reno>=2.5.0 # Apache-2.0 +sphinx>=1.6.2 # BSD diff --git a/test-requirements.txt b/test-requirements.txt index 0c64e906..2aac28a9 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,12 +7,9 @@ coverage!=4.4,>=4.0 # Apache-2.0 fixtures>=3.0.0 # Apache-2.0/BSD flake8-import-order==0.13 # LGPLv3 mock>=2.0.0 # BSD -openstackdocstheme>=1.17.0 # Apache-2.0 oslotest>=1.10.0 # Apache-2.0 -reno>=2.5.0 # Apache-2.0 requests>=2.14.2 # Apache-2.0 requests-mock>=1.1.0 # Apache-2.0 -sphinx>=1.6.2 # BSD stevedore>=1.20.0 # Apache-2.0 os-client-config>=1.28.0 # Apache-2.0 stestr>=1.0.0 # Apache-2.0 @@ -105,10 +105,20 @@ commands = oslo_debug_helper -t openstackclient/tests {posargs} [testenv:docs] -commands = python setup.py build_sphinx +deps = + -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -r{toxinidir}/requirements.txt + -r{toxinidir}/doc/requirements.txt +commands = + sphinx-build -b html doc/source doc/build/html [testenv:releasenotes] -commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html +deps = + -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -r{toxinidir}/requirements.txt + -r{toxinidir}/doc/requirements.txt +commands = + sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [flake8] show-source = True |
