Add code coverage for multicloud framework
[multicloud/framework.git] / multivimbroker / tox.ini
1 [tox]
2 envlist = py27,pep8
3 skipsdist = true
4
5 [tox:jenkins]
6 downloadcache = ~/cache/pip
7
8 [testenv]
9 deps = -r{toxinidir}/requirements.txt
10 commands =
11   /usr/bin/find . -type f -name "*.py[c|o]" -delete
12   python manage.py test multivimbroker
13
14 [testenv:pep8]
15 deps=flake8
16 commands=flake8
17
18 [testenv:py27]
19 commands =
20   {[testenv]commands}
21
22 [testenv:cover]
23 setenv=
24   DJANGO_SETTINGS_MODULE = multivimbroker.settings-cover
25 commands =
26   coverage erase
27   {[testenv]commands}

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use