summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorChangBo Guo(gcb) <eric.guo@easystack.cn>2017-12-19 13:21:37 +0800
committerChangBo Guo(gcb) <eric.guo@easystack.cn>2017-12-19 14:41:22 +0800
commit4f81c419947e2793e3eda4ce8f3664058b5a5d2c (patch)
treee4c0d9094c921aaf94391fc2e0b89a262f9fce00 /tox.ini
parent85cf42e841bb59ddf294ec39286ce97e57a9faae (diff)
downloadoslo-db-4f81c419947e2793e3eda4ce8f3664058b5a5d2c.tar.gz
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: Iba311cc69ec5272d8beb433e3589c53f371d5d0a
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 7df46f5..6aad1b7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -43,11 +43,13 @@ commands = {posargs}
commands = python setup.py test --coverage --coverage-package-name=oslo_db --testr-args='{posargs}'
[testenv:docs]
+deps = -r{toxinidir}/doc/requirements.txt
commands =
doc8 -e .rst CONTRIBUTING.rst HACKING.rst README.rst doc/source
- python setup.py build_sphinx
+ sphinx-build -b html doc/source doc/build/html
[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
[flake8]