bareon-ironic/tox.ini
Dmitry Bogun a2dee08c70 Bump ironic version
Update ironic dependency on ironic-6.2.2(latest Newton release).

Change-Id: Id2048e6a347385ccb2429e8756e8d0f2dce01918
2016-12-13 17:48:50 +02:00

36 lines
890 B
INI

[tox]
minversion = 1.6
skipsdist = True
envlist = pep8,py27
[testenv]
usedevelop = True
install_command = pip install --allow-external -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
PYTHONDONTWRITEBYTECODE = 1
LANGUAGE=en_US
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
git+https://github.com/openstack/ironic.git@6.2.2#egg=ironic-6.2.2
whitelist_externals = bash
commands =
bash -c "TESTS_DIR=./bareon_ironic/tests/ python setup.py testr --slowest --testr-args='{posargs}'"
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv:pep8]
commands =
flake8 {posargs}
[testenv:venv]
commands = {posargs}
[flake8]
ignore = H102,H306,H307
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools,*ironic/nova*
max-complexity=17
[hacking]
import_exceptions = testtools.matchers, ironic.common.i18n