Files
mistral-specs/tox.ini
Ha Manh Dong 29c2a31d7e Switch to use stestr for unit test
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
So we should switch to stestr.

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

Change-Id: I753abb6ceae046e388357450a6cdb84af6e5fe74
2018-07-19 10:34:25 +07:00

27 lines
531 B
INI

[tox]
minversion = 1.6
envlist = py27,docs
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
whitelist_externals = find
commands =
find . -type f -name "*.pyc" -delete
stestr run --slowest {posargs}
[testenv:venv]
commands = {posargs}
[testenv:docs]
basepython = python2.7
commands =
find . -type f -name "*.pyc" -delete
python setup.py build_sphinx