openstack-python-heatclient/tox.ini
Steve Baker 5e30e7d263 Workaround failing pypy gate job
Until a proper fix is found, pin the version of setuptools to one
that doesn't cause this issue.

Change-Id: I4f5f2b6449a90df06b366f9eb3f2c16bb37cc758
Related-Bug: #1290562
2014-03-18 14:49:28 +08:00

39 lines
951 B
INI

[tox]
envlist = py26,py27,pypy,pep8
minversion = 1.6
skipsdist = True
[testenv]
# Set PYTHONHASHSEED to 0 so that randomisation is disabled and
# urlutils.urlencode() has predictable results.
setenv = VIRTUAL_ENV={envdir}
PYTHONHASHSEED=0
usedevelop = True
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
commands = flake8
[testenv:venv]
commands = {posargs}
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'
[testenv:pypy]
deps = setuptools<3.2
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[tox:jenkins]
downloadcache = ~/cache/pip
[flake8]
show-source = True
# H302: Do not import objects, only modules
ignore = H302
builtins = _
exclude=.venv,.git,.tox,dist,*openstack/common*,*lib/python*,*egg,build