vitrage-specs/tox.ini
Vu Cong Tuan 3c5045218b Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I081601490f339a5dc37a6a5bc597cfc3836bd873
2018-07-04 13:54:56 +07:00

31 lines
752 B
INI

[tox]
minversion = 1.6
envlist = docs,py27
skipsdist = True
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt
commands = stestr run --slowest {posargs}
[testenv:venv]
commands = {posargs}
[testenv:docs]
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-r{toxinidir}/requirements.txt
commands = sphinx-build -b html doc/source doc/build/html
[testenv:doc8]
deps = -r{toxinidir}/requirements.txt doc8
commands = doc8 doc/source
[testenv:autobuild]
whitelist_externals =
sphinx-autobuild
commands =
sphinx-autobuild --watch specs --open-browser doc/source doc/build