Files
python-ironicclient/tox.ini
Motohiro OTSUKA 855940028c Remove unused command in tox.ini
patch_tox_venv.py is not found in this project,
so 'tox -ecover' command report error. This fixes it.

Change-Id: I415f305f7eb98e444b4f6b340409bc5d32d4e9bb
2014-09-26 15:25:59 +09:00

38 lines
813 B
INI

[tox]
minversion = 1.6
envlist = py26,py27,py33,py34,pep8
skipsdist = True
[testenv]
setenv = VIRTUAL_ENV={envdir}
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}'
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv:pep8]
commands =
flake8 {posargs}
{toxinidir}/tools/requirements_style_check.sh requirements.txt test-requirements.txt
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
commands =
python setup.py testr --coverage {posargs}
[testenv:venv]
commands = {posargs}
[flake8]
ignore = E12
builtins = _
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools
[hacking]
import_exceptions = testtools.matchers