Files
python-ceilometerclient/tox.ini
Alex Gaynor 3569e65861 Added support for running the tests under PyPy with tox
This is a precursor to having them run under check and gate.

Change-Id: I42ed34362bb840fe3a6d1d22e28beba8963fdb85
2013-09-05 09:57:52 -07:00

30 lines
656 B
INI

[tox]
envlist = py26,py27,pypy,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
python setup.py testr --testr-args='{posargs}'
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv:pep8]
commands = flake8
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'
[testenv:venv]
commands = {posargs}
[flake8]
ignore = E121,E122,E123,E128,E711,E721,E712,H233,H302
show-source = True
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools