surveil/tox.ini
aviau 91787d6b83 Added demo API + tests
Change-Id: I4bdd12f72b9b02c2ba9adafcfbdbdaa079d19e34
2014-08-12 18:51:23 -04:00

25 lines
481 B
INI

[tox]
minverson = 1.6
envlist = py33, py27, pep8, docs
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U --force-reinstall {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
commands = flake8
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
[flake8]
exclude = .tox,env,*egg