ironic-inspector/tox.ini
Dmitry Tantsur 067db13a5a Getting ready for inclusion into projects.yaml
* Switch from docutils to doc8 for checking docs
* Split away plugin-requirements
* Update to Kilo

Change-Id: Icf1411bd80aa7870996b5536b0ac1aec96783dab
2015-02-16 17:24:46 +01:00

39 lines
896 B
INI

[tox]
envlist = py27,py33,pep8,func
[testenv]
usedevelop = True
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/plugin-requirements.txt
commands =
coverage run --branch --include "ironic_discoverd*" -m unittest discover ironic_discoverd.test
coverage report -m --fail-under 90
setenv = PYTHONDONTWRITEBYTECODE=1
[testenv:pep8]
basepython = python2.7
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/plugin-requirements.txt
commands =
flake8 ironic_discoverd
doc8 README.rst CONTRIBUTING.rst
[flake8]
max-complexity=15
[hacking]
import_exceptions = ironicclient.exceptions
[testenv:func]
basepython = python2.7
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/plugin-requirements.txt
commands =
python functest/run.py