mogan-specs/tox.ini
Zhenguo Niu 5bc5b9080b Initial import
Change-Id: I86c1b6874730bb929f5e0f4e17ac1316c73d9a1a
2017-01-13 12:50:50 +08:00

23 lines
451 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
commands =
python setup.py testr --slowest --testr-args='{posargs}'
doc8 doc/source README.rst
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx