Remove Python 3.3 tox environment because Infra changed all Python 3 gates to Python 3.4. References: http://lists.openstack.org/pipermail/openstack-dev/2015-February/055775.html Change-Id: I355323aa0e03580f86b46fb2d7ab41da3f4d59c2
37 lines
780 B
INI
37 lines
780 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = py34,py26,py27,pypy,pep8
|
|
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 --coverage --testr-args='{posargs}'
|
|
coverage combine
|
|
coverage report -m
|
|
|
|
[testenv:debug]
|
|
commands = oslo_debug_helper -t barbicanclient {posargs}
|
|
|
|
[testenv:pep8]
|
|
commands = {toxinidir}/tools/hacking.sh {posargs}
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
commands = python setup.py build_sphinx
|
|
|
|
[tox:jenkins]
|
|
downloadcache = ~/cache/pip
|
|
|
|
[flake8]
|
|
show-source = True
|
|
ignore = F,H
|
|
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|