Add environment variable

Add environment variable {toxinidir} in tox.ini

Change-Id: I916e9985db926694f7db8dc47448c7bf496b23df
This commit is contained in:
ZhongShengping 2017-06-12 16:00:48 +08:00
parent e1fadaf94d
commit 482a7e86fc

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