forked from Mirantis/stepler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
97 lines (86 loc) · 1.49 KB
/
tox.ini
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[tox]
distshare={homedir}/.tox/distshare
envlist=
{py27,py34,py35}-static_check
py27-idempotent-ids-checker
py27-steps-checker
py27-unittests
skipsdist=True
[flake8]
filename=*.py
ignore = E731,H405,H304
exclude = .venv,.git,.tox,dist,doc,*egg,build,releasenotes
max-complexity=25
[static_check]
deps=
flake8<3.0.0
hacking
commands=
flake8
[testenv:py27-static_check]
basepython =
python2.7
deps=
{[static_check]deps}
commands=
{[static_check]commands}
[testenv:py34-static_check]
basepython =
python3.4
deps=
{[static_check]deps}
commands=
{[static_check]commands}
[testenv:py35-static_check]
basepython =
python3.5
deps=
{[static_check]deps}
commands=
{[static_check]commands}
[testenv:py27-steps-checker]
basepython =
python2.7
deps =
-e.
commands =
py.test stepler --steps-check-only --force-destructive
[testenv:py27-idempotent-ids-checker]
basepython =
python2.7
deps =
-e.
commands =
py.test stepler/ --check-idempotent_id --force-destructive
[testenv:py27-unittests]
basepython =
python2.7
deps =
pytest-capturelog
-e.
commands =
py.test unittests -v
[testenv:cinder]
passenv = *
basepython =
python2.7
deps =
-e.[libvirt]
commands =
py.test stepler/cinder
[testenv:nova]
passenv = *
basepython =
python2.7
deps =
-e.[libvirt]
commands =
py.test stepler/nova
[testenv:heat]
passenv = *
basepython =
python2.7
deps =
-e.[libvirt]
commands =
py.test stepler/heat