2016-03-13 18:58:28 -04:00
|
|
|
[tox]
|
2018-10-16 11:40:17 +08:00
|
|
|
minversion = 2.0
|
2016-03-13 18:58:28 -04:00
|
|
|
skipsdist = True
|
|
|
|
envlist = releasenotes
|
|
|
|
|
2017-05-17 08:19:47 -06:00
|
|
|
[testenv]
|
2019-04-21 14:44:48 +08:00
|
|
|
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} {opts} {packages}
|
2017-05-17 08:19:47 -06:00
|
|
|
|
2016-03-13 18:58:28 -04:00
|
|
|
[testenv:releasenotes]
|
2018-06-08 14:23:31 +08:00
|
|
|
basepython = python3
|
2018-02-28 14:28:21 +08:00
|
|
|
deps = -r{toxinidir}/doc/requirements.txt
|
2016-03-13 18:58:28 -04:00
|
|
|
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|