Add environment variable
Add environment variable {toxinidir} in tox.ini Change-Id: I6d9dab4c6033656e1f07f221ab66453cd46e07ac
This commit is contained in:
parent
332661e6e1
commit
f512af0aee
2
tox.ini
2
tox.ini
@ -7,5 +7,5 @@ envlist = releasenotes
|
|||||||
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
|
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
deps = -rtest-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||||
|
Loading…
Reference in New Issue
Block a user