Files
deb-python-ceilometerclient/tox.ini
Ildiko Vancsa 0972c76a77 Fix temporary pypy gate issue with setuptools
Adding a fix proposed in https://bugs.launchpad.net/openstack-ci/+bug/1290562
to avoid continuous gate failures because of setuptools issue reported in the
bug linked above.

Temporary Fixes-bug: #1290562

Change-Id: Id7ff477c4168f42bee2c3c9a8fc70ff7953bf10a
2014-03-18 15:43:51 +01:00

36 lines
767 B
INI

[tox]
envlist = py26,py27,pypy,pep8
minversion = 1.6
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 --testr-args='{posargs}'
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv:pypy]
deps = setuptools<3.2
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:pep8]
commands = flake8
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'
[testenv:venv]
commands = {posargs}
[flake8]
ignore = None
show-source = True
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools