-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathtox.ini
137 lines (121 loc) · 2.59 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
[tox]
skip_missing_interpreters=True
envlist =
py27,
py36,
py37,
py38,
py39
py27-bluetooth,
py36-bluetooth,
py37-bluetooth,
py38-bluetooth,
py39-bluetooth,
py27-usb,
py36-usb,
py37-usb,
py38-usb,
py39-usb,
py27-serial,
py36-serial,
py37-serial,
py38-serial,
py39-serial
[testenv]
changedir = tests
deps = pytest
commands = pytest --basetemp="{envtmpdir}" {posargs}
[testenv:py27-bluetooth]
basepython = python2.7
# Python 2, requires PyBluez version 0.22 or older, because
# PyBluez 0.23 and up cannot be imported due to an AttributeError
# "attribute '__doc__' of 'instancemethod' objects is not writable".
deps =
.[bluetooth]
PyBluez>=0.22,<0.23
pytest
commands = pytest --basetemp="{envtmpdir}" {posargs}
[testenv:py36-bluetooth]
basepython = python3.6
deps =
.[bluetooth]
pytest
commands = pytest --basetemp="{envtmpdir}" {posargs}
[testenv:py37-bluetooth]
basepython = python3.7
deps =
.[bluetooth]
pytest
commands = pytest --basetemp="{envtmpdir}" {posargs}
[testenv:py38-bluetooth]
basepython = python3.8
deps =
.[bluetooth]
pytest
commands = pytest --basetemp="{envtmpdir}" {posargs}
[testenv:py39-bluetooth]
basepython = python3.9
deps =
.[bluetooth]
pytest
commands = pytest --basetemp="{envtmpdir}" {posargs}
[testenv:py27-usb]
basepython = python2.7
deps =
.[usb]
pytest
commands = pytest --basetemp="{envtmpdir}" {posargs}
[testenv:py36-usb]
basepython = python3.6
deps =
.[usb]
pytest
commands = pytest --basetemp="{envtmpdir}" {posargs}
[testenv:py37-usb]
basepython = python3.7
deps =
.[usb]
pytest
commands = pytest --basetemp="{envtmpdir}" {posargs}
[testenv:py38-usb]
basepython = python3.8
deps =
.[usb]
pytest
commands = pytest --basetemp="{envtmpdir}" {posargs}
[testenv:py39-usb]
basepython = python3.9
deps =
.[usb]
pytest
commands = pytest --basetemp="{envtmpdir}" {posargs}
[testenv:py27-serial]
basepython = python2.7
deps =
.[serial]
pytest
commands = pytest --basetemp="{envtmpdir}" {posargs}
[testenv:py36-serial]
basepython = python3.6
deps =
.[serial]
pytest
commands = pytest --basetemp="{envtmpdir}" {posargs}
[testenv:py37-serial]
basepython = python3.7
deps =
.[serial]
pytest
commands = pytest --basetemp="{envtmpdir}" {posargs}
[testenv:py38-serial]
basepython = python3.8
deps =
.[serial]
pytest
commands = pytest --basetemp="{envtmpdir}" {posargs}
[testenv:py39-serial]
basepython = python3.9
deps =
.[serial]
pytest
commands = pytest --basetemp="{envtmpdir}" {posargs}