Rebase framework to py36
[multicloud/framework.git] / multivimbroker / tox.ini
1 [tox]
2 envlist = py36,pep8
3 skipsdist = true
4
5 [tox:jenkins]
6 downloadcache = ~/cache/pip
7
8 [testenv]
9 deps =
10  -r{toxinidir}/requirements.txt
11  -r{toxinidir}/test-requirements.txt
12
13 commands =
14   /usr/bin/find . -type f -name "*.py[c|o]" -delete
15   python manage.py test multivimbroker
16
17 [testenv:pep8]
18 deps=flake8
19 commands=flake8
20
21 [testenv:py27]
22 commands =
23   {[testenv]commands}
24
25 [testenv:cover]
26 setenv=
27   DJANGO_SETTINGS_MODULE = multivimbroker.settings-cover
28 commands =
29   coverage erase
30   {[testenv]commands}
31   coverage xml -i
32
33 [testenv:rstcheck]
34 deps = rstcheck
35 whitelist_externals = bash
36 commands = bash -c "find ../docs -not -path {toxinidir}/.tox/\* \
37    -name \*.rst -type f -print0 | xargs -0 rstcheck --report warning"
38
39 [testenv:docs]
40 deps = sphinx
41 commands = sphinx-build -b html ../docs/ ../docs/html

© 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