vitrage/tox.ini
Eyal e3a503d51f support python 3.4
Change-Id: I574a3af51636fd99c6358f41b9a01fdbd7d778ac
2016-03-10 17:49:14 +02:00

41 lines
938 B
INI

[tox]
minversion = 1.6
envlist = py3,py27,pep8
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
commands =
python setup.py testr --slowest --testr-args='{posargs}'
oslo-config-generator --config-file=etc/vitrage/vitrage-config-generator.conf
[testenv:pep8]
commands = flake8
[testenv:genconfig]
commands = oslo-config-generator --config-file=etc/vitrage/vitrage-config-generator.conf
[testenv:venv]
commands = {posargs}
[testenv:cover]
commands = python setup.py test --coverage --testr-args='{posargs}'
[testenv:docs]
commands = python setup.py build_sphinx
[testenv:debug]
commands = oslo_debug_helper {posargs}
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
ignore = E123,E125
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build