-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
69 lines (54 loc) · 1.12 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
[tox]
envlist = py3{6},py2{7}
deps = -rrequirements.txt
[pytest]
pep8maxlinelength = 119
norecursedirs = .git .tox env coverage docs
pep8ignore =
docs/conf.py ALL
[testenv]
usedevelop = True
deps =
-rrequirements.txt
-rrequirements-test.txt
passenv = ANSIBLE_ASK_SUDO_PASS HOME LANG LC_ALL
commands =
py.test -q --basetemp={envtmpdir} --confcutdir=.. -n 1 \
--junitxml=tests/junit.xml \
--cov-report xml --cov ansiblebit.lib \
--cov-report=html \
--cov-report term-missing \
--pep8 \
{posargs}
autopep8 \
--in-place \
--aggressive \
--recursive \
--max-line-length 119 \
--ignore=W503 \
steenzout
[testenv:docs]
usedevelop = False
changedir = docs
deps = -rrequirements-docs.txt
commands =
steenzout-sphinx-generate ansiblebit ansiblebit.lib .
make dummy
make apidoc
make coverage
make changes
make html
whitelist_externals =
/usr/bin/make
[testenv:venv]
envdir = py27
commands =
{posargs}
[tox:travis]
2.6 = py26
2.7 = py27
3.3 = py33
3.4 = py34
3.5 = py35
3.6 = py36
pypy = pypy