summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorNguyen Van Trung <trungnv@vn.fujitsu.com>2018-07-02 15:59:45 +0700
committerNguyen Van Trung <trungnv@vn.fujitsu.com>2018-09-06 13:07:06 +0700
commit5aae14a9c8d22c3e3fff245f6f0a0a1008374ba3 (patch)
treec42eb20f76e3e85da0236b9d352f1ffa8f8ccd26 /tox.ini
parentcb8aee3945771505bce6e8d874efd5df7e30257a (diff)
downloadceilometer-5aae14a9c8d22c3e3fff245f6f0a0a1008374ba3.tar.gz
Follow 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 details information, please refer to: http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: Ibdd264f0ef0c27762d47a70da192a858e62074a9
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 cf56f83b..6a1824da 100644
--- a/tox.ini
+++ b/tox.ini
@@ -39,6 +39,7 @@ commands =
[testenv:releasenotes]
basepython = python3
+deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:genconfig]
@@ -47,7 +48,8 @@ commands = oslo-config-generator --config-file=etc/ceilometer/ceilometer-config-
[testenv:docs]
basepython = python3
-commands = python setup.py build_sphinx
+deps = -r{toxinidir}/doc/requirements.txt
+commands = sphinx-build -b html doc/source doc/build/html
setenv = PYTHONHASHSEED=0
[testenv:venv]