Add environment variable

Add environment variable {toxinidir} in tox.ini

Change-Id: I49aa75aded5607c901f344159da0ffc99441669f
This commit is contained in:
ZhongShengping 2017-06-12 15:53:11 +08:00
parent 59c14a1d6e
commit 4e006a0fd0
1 changed files with 1 additions and 1 deletions

View File

@ -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}
[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