69c89432fd
* Replace .testr.conf by .stestr.conf for migration and update .gitignore, tox.ini and requirements.txt files accordingly Signed-off-by: HeroicHitesh <email.hiteshkumar@gmail.com> Change-Id: I3eef3b3b27a7fbd2092457c34da8e3bbe7cbf0d5
21 lines
450 B
INI
21 lines
450 B
INI
[tox]
|
|
minversion = 3.1.1
|
|
envlist = docs,pep8
|
|
skipsdist = True
|
|
ignore_basepython_conflict = True
|
|
|
|
[testenv]
|
|
basepython = python3
|
|
usedevelop = True
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
# NOTE(tonyb): This project has chosen to *NOT* consume upper-constraints.txt
|
|
commands = stestr run --slowest {posargs}
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
commands =
|
|
sphinx-build -W -b html doc/source doc/build/html
|