Skip to content

Commit 6c9e65f

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "doc: Use common requirements definition"
2 parents 704e13a + ba0c136 commit 6c9e65f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tox.ini

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ commands =
4646

4747
[testenv:docs]
4848
deps =
49-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
50-
-r{toxinidir}/doc/requirements.txt
49+
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
50+
-r{toxinidir}/doc/requirements.txt
5151
commands = sphinx-build -W -b html doc/source doc/build/html
5252

5353
[flake8]
@@ -60,7 +60,5 @@ max-complexity=20
6060
import_exceptions = heatclient._i18n
6161

6262
[testenv:releasenotes]
63-
deps =
64-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
65-
-r{toxinidir}/doc/requirements.txt
63+
deps = {[testenv:docs]deps}
6664
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html

0 commit comments

Comments
 (0)