summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2018-05-03 10:22:44 +0100
committerStephen Finucane <sfinucan@redhat.com>2018-07-18 10:12:04 +0100
commit8b727ce92957045167a13ce0a8292b83bef504db (patch)
tree63bad37c9f2cf367edb335dd35afcb3cc26627ec /tox.ini
parent3dc5ae566bd5b5b6824d0127142211022f378097 (diff)
downloadpbr-8b727ce92957045167a13ce0a8292b83bef504db.tar.gz
trivial: Remove 'tools/releasenotes_tox.sh'
This is not needed since reno 2.1.0 (commit f8fc8f97) [1]. [1] https://github.com/openstack/reno/commit/f8fc8f97 Change-Id: I335bba8c8bf4f2d73aba32ae762607e67ee3814c Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 3 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 4951885..4341007 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,7 +4,6 @@ envlist = py35,py36,py27,pypy,pep8,docs
[testenv]
usedevelop = True
-whitelist_externals = bash
install_command = pip install {opts} {packages}
passenv = PBR_INTEGRATION PIPFLAGS PIPVERSION PBRVERSION REPODIR WHEELHOUSE PROJECTS OS_TEST_TIMEOUT OS_STDOUT_CAPTURE OS_STDERR_CAPTURE
deps =
@@ -26,7 +25,9 @@ commands = python setup.py build_sphinx
[testenv:releasenotes]
basepython = python3
-commands = bash -c {toxinidir}/tools/tox_releasenotes.sh
+commands =
+ rm -rf releasenotes/build
+ sphinx-build -W -b html -d releasenotes/build/doctrees releasenotes/source releasenotes/build/html
[testenv:cover]
basepython = python3