Add environment variable

Add environment variable {toxinidir} in tox.ini

Change-Id: Ia66cd6db2f0ebd44e138f5860c62b9e61e5d77d3
This commit is contained in:
ZhongShengping 2017-06-12 16:17:18 +08:00
parent 1afdc8b527
commit 3a4971b107

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