Files
6329ae46dba20cb194462ece583b2ed639c9e0c5
ironic-python-agent /tox.ini

42 lines
970 B
INI
Raw Normal View History

2013年12月16日 15:38:02 -08:00
[tox]
skipsdist = True
envlist = py26,py27,pep8
2013年12月16日 15:38:02 -08:00
[testenv]
install_command = pip install --allow-external -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
python setup.py testr --slowest --testr-args='{posargs:}'
2013年12月16日 15:38:02 -08:00
downloadcache = ~/cache/pip
2013年12月16日 15:38:02 -08:00
2013年12月20日 16:56:40 -08:00
commands =
2014年03月19日 16:19:52 -07:00
flake8 {posargs:ironic_python_agent}
2013年12月20日 16:56:40 -08:00
setenv = VIRTUAL_ENV={envdir}
commands =
2014年03月19日 16:19:52 -07:00
python setup.py testr --coverage {posargs:ironic_python_agent}
[testenv:venv]
commands = {posargs:}
2013年12月16日 15:38:02 -08:00
[testenv:devenv]
envdir = devenv
usedevelop = True
2014年03月17日 15:17:27 -07:00
# E711: ignored because it is normal to use "column == None" in sqlalchemy
ignore = E12,E711
builtins = _
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,*ironic/nova*,tools
[hacking]