surveil/tox.ini
aviau 0e78fe24da Added integration tests
Change-Id: I33ede0f954fdfafc8c5ad4052ff787aa48e0cce2
2015-05-28 14:14:50 -04:00

33 lines
842 B
INI

[tox]
minverson = 1.6
envlist = py34, py27, pep8, docs, integration
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