Add vfc-vnfmgr log integration config
[vfc/gvnfm/vnfmgr.git] / mgr / tox.ini
1 [tox]
2 envlist = py27,pep8,cov
3 skipsdist = true
4
5 [tox:jenkins]
6 downloadcache = ~/cache/pip
7
8 [flake8]
9 ignore =  E501
10 exclude = ./venv-tox,./.tox
11 max-complexity = 12
12
13 [testenv]
14 deps = -r{toxinidir}/requirements.txt
15 commands = coverage run --branch manage.py test mgr
16
17 [testenv:pep8]
18 deps = flake8
19 commands = flake8
20
21 [testenv:py27]
22 commands =
23   {[testenv]commands}
24
25 [testenv:cov]
26 commands = coverage xml --omit="*test*,*__init__.py,*site-packages*"