fcb143cda7
Add environment variable {toxinidir} in tox.ini Change-Id: Ia87a07e8d585db64b0fd9e7c3b673294fd8adf5c
12 lines
418 B
INI
12 lines
418 B
INI
[tox]
|
|
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 = -r{toxinidir}/test-requirements.txt
|
|
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|