surveil/tox.ini
aviau df06b6a415 Don't run integration tests by default
Change-Id: I8966073e8181ede54bb3bcdec191562331809a09
2015-06-01 09:29:09 -04:00

33 lines
829 B
INI

[tox]
minverson = 1.6
envlist = py34, py27, pep8, docs
skipsdist = True
[testenv]
setenv = LANGUAGE=en_US
LC_ALL=en_US.utf-8
SURVEIL_INTEGRATION_TESTS=False
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:integration]
setenv = SURVEIL_INTEGRATION_TESTS=True
commands = python setup.py testr --slowest --testr-args='--parallel --concurrency=1 --isolated'
[testenv:pep8]
commands = flake8
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
[flake8]
exclude = .venv,.git,.tox,env,dist,*openstack/common*,*lib/python*/,*egg,build,*doc/conf.py,surveil/cmd/pack_upload.py