Add environment variable
Add environment variable {toxinidir} in tox.ini Change-Id: I7645f1887d7e38b29edf749d768135957b74a296
This commit is contained in:
parent
bc90232179
commit
0a2d0f0133
5
tox.ini
5
tox.ini
@ -3,6 +3,9 @@ minversion = 1.6
|
||||
skipsdist = True
|
||||
envlist = releasenotes
|
||||
|
||||
[testenv]
|
||||
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
|
||||
|
||||
[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
|
||||
|
Loading…
Reference in New Issue
Block a user