forked from fschulze/ploy_ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
45 lines (38 loc) · 825 Bytes
/
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
[tox]
envlist = py26,py27,ansible14,ansible15,ansible16,ansible17
[testenv]
deps =
coverage
mock
pytest
pytest-capturelog
pytest-pep8
pytest-flakes
snot
commands =
coverage run {envbindir}/py.test {posargs} {envsitepackagesdir}/ploy_ansible
coverage report --include {envsitepackagesdir}/ploy_ansible/*
coverage html --include {envsitepackagesdir}/ploy_ansible/*
[testenv:ansible14]
deps =
ansible>=1.4,<1.5
{[testenv]deps}
[testenv:ansible15]
deps =
ansible>=1.5,<1.6
{[testenv]deps}
[testenv:ansible16]
deps =
ansible>=1.6,<1.7
{[testenv]deps}
[testenv:ansible17]
deps =
ansible>=1.7,<1.8
{[testenv]deps}
[testenv:ansible18]
deps =
ansible>=1.8,<1.9
{[testenv]deps}
[pytest]
addopts = --pep8 --flakes --tb=native
pep8ignore = E501 W503