keystone-specs/tox.ini

21 lines
410 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 =
python setup.py testr --slowest --testr-args='{posargs}'
doc8 specs/
[testenv:venv]
commands = {posargs}
[testenv:docs]
basepython=python2.7
commands = python setup.py build_sphinx