forked from vmware-archive/tosca-vcloud-plugin
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathtox.ini
More file actions
36 lines (32 loc) · 977 Bytes
/
tox.ini
File metadata and controls
36 lines (32 loc) · 977 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[tox]
envlist = py27-unittests, pep8, validate
minversion = 1.6
skipsdist = True
[testenv]
usedevelop = True
envdir = .tox/devenv
deps = -rtest-requirements.txt
-rdev-requirements.txt
[testenv:py27-unittests]
commands = nosetests tests/unittests --cover-html --with-coverage --cover-package=vcloud_plugin_common --cover-package=vcloud_network_plugin --cover-package=vcloud_server_plugin --cover-package=vcloud_storage_plugin
[testenv:pep8]
commands=
flake8 tests
flake8 vcloud_network_plugin
flake8 vcloud_server_plugin
flake8 vcloud_plugin_common
flake8 vcloud_storage_plugin
pylint -E tests.unittests \
-E vcloud_network_plugin \
-E vcloud_server_plugin \
-E vcloud_plugin_common \
-E vcloud_storage_plugin
ignore =
exclude=.venv,.tox,dist,*egg,etc,build
filename=*.py
[testenv:validate]
deps =
cloudify==4.5
{[testenv]deps}
commands =
cfy blueprint validate examples/blueprint.yaml