Add vfc-vnflcm coverage scan.
[vfc/gvnfm/vnflcm.git] / lcm / 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,E722
10 exclude = ./venv-tox,./.tox
11 max-complexity = 27
12
13 [testenv]
14 deps = -r{toxinidir}/requirements.txt
15 commands = coverage run --branch manage.py test lcm
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 html --omit="*test*,*__init__.py,*site-packages*" -d htmlcov