forked from brendan-w/python-OBD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
63 lines (52 loc) · 1.01 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
[tox]
envlist =
check{27,36},
py{27,py,34,35,36,37},
coverage
[testenv]
usedevelop = true
setenv =
COVERAGE_FILE={toxinidir}/.coverage_{envname}
deps =
pdbpp==0.9.6
pytest==3.10.1
pytest-cov==2.6.1
whitelist_externals =
rm
commands =
rm -vf {toxinidir}/.coverage_{envname}
pytest --cov-report= --cov=obd {posargs}
[testenv:check27]
basepython = python2.7
skipsdist = true
deps =
check-manifest==0.37
flake8==3.7.7
commands =
flake8 {envsitepackagesdir}/obd
python setup.py check --strict --metadata
[testenv:check36]
basepython = python3.6
skipsdist = true
deps = {[testenv:check27]deps}
commands = {[testenv:check27]commands}
[testenv:coverage]
skipsdist = true
deps =
coverage
whitelist_externals =
/bin/bash
rm
commands =
/bin/bash -c 'coverage combine {toxinidir}/.coverage_*'
coverage html -i
coverage report -i --show-missing
[flake8]
max-line-length = 120
[coverage:run]
omit =
.tox/*
env/*
[coverage:paths]
source =
obd/