summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorZhongShengping <chdzsp@163.com>2018-03-02 09:59:11 +0800
committerBen Nemec <bnemec@redhat.com>2019-12-16 22:09:55 +0000
commit498dd44b710f275c9352e44b95048af56fa11f20 (patch)
tree68ba4a27b993542444ab4961fff333e2fd4a1ae5 /tox.ini
parentb93f51c1aa85ca4735118668d1f890ca0fbe941d (diff)
downloadoslo-policy-498dd44b710f275c9352e44b95048af56fa11f20.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 detials information, please refer to: http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: I1c10b87297a23e010613e951f65913bb54baf6b9 Co-Authored-By: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index ed1c446..0e85d56 100644
--- a/tox.ini
+++ b/tox.ini
@@ -35,7 +35,7 @@ deps =
{[testenv]deps}
-r{toxinidir}/doc/requirements.txt
commands =
- rm -rf doc/build
+ rm -rf doc/build doc/source/reference/api
sphinx-build -W --keep-going -b html doc/source doc/build/html
[testenv:cover]
@@ -43,7 +43,6 @@ basepython = python3
commands = python setup.py test --coverage --coverage-package-name=oslo_policy --testr-args='{posargs}'
[flake8]
-
show-source = True
ignore =
builtins = _
@@ -54,6 +53,7 @@ import_exceptions = oslo_policy._i18n
[testenv:releasenotes]
basepython = python3
+deps = -r{toxinidir}/doc/requirements.txt
whitelist_externals =
rm
commands =