-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
216 lines (180 loc) · 3.82 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# Tox config file for syslog2 project.
#
# Supported platforms:
# Linux
# OS-X
# Windows (native and in UNIX-like environments)
[tox]
minversion = 2.0
envlist =
py27
py34
py35
py36
py37
py38
py39
py310
win64_py27_32
win64_py27_64
win64_py34_32
win64_py34_64
win64_py35_32
win64_py35_64
win64_py36_32
win64_py36_64
win64_py37_32
win64_py37_64
win64_py38_32
win64_py38_64
win64_py39_32
win64_py39_64
win64_py310_32
win64_py310_64
cygwin64_py27
cygwin64_py36
cygwin64_py37
cygwin64_py38
cygwin64_py39
cygwin64_py310
# For Appveyor, missing interpreters should fail. For local use, you may
# want to allow to skip missing interpreters.
skip_missing_interpreters = false
skipsdist = true
[testenv]
skip_install = true
passenv =
ProgramFiles
APPVEYOR
USER
LNAME
USERNAME
HOME
USERPROFILE
OS
PATH
PYTHONPATH
INCLUDE
CPATH
CFLAGS
LANG
LC_ALL
LC_CTYPE
LIB
LIBRARY_PATH
LDFLAGS
SWIG_FEATURES
SHELL
PWD
TESTCASES
TESTHMC
TESTLOGFILE
PACKAGE_LEVEL
PYTHON_CMD
PIP_CMD
whitelist_externals =
make
commands =
make platform pip_list env
make install
make develop
make check
make installtest
make test
make testdict
[testenv:py27]
platform = linux2|darwin
basepython = python2.7
[testenv:py34]
platform = linux2|darwin
basepython = python3.4
[testenv:py35]
platform = linux2|darwin
basepython = python3.5
[testenv:py36]
platform = linux2|darwin
basepython = python3.6
[testenv:py37]
platform = linux2|darwin
basepython = python3.7
[testenv:py38]
platform = linux2|darwin
basepython = python3.8
[testenv:py39]
platform = linux2|darwin
basepython = python3.9
[testenv:py310]
platform = linux2|darwin
basepython = python3.10
# Note: The basepython file paths for the win64* tox environments may need to
# be customized.
[testenv:win64_py27_32]
platform = win32
basepython = C:\Python27\python.exe
[testenv:win64_py27_64]
platform = win32
basepython = C:\Python27-x64\python.exe
[testenv:win64_py34_32]
platform = win32
basepython = C:\Python34\python.exe
[testenv:win64_py34_64]
platform = win32
basepython = C:\Python34-x64\python.exe
[testenv:win64_py35_32]
platform = win32
basepython = C:\Python35\python.exe
[testenv:win64_py35_64]
platform = win32
basepython = C:\Python35-x64\python.exe
[testenv:win64_py36_32]
platform = win32
basepython = C:\Python36\python.exe
[testenv:win64_py36_64]
platform = win32
basepython = C:\Python36-x64\python.exe
[testenv:win64_py37_32]
platform = win32
basepython = C:\Python37\python.exe
[testenv:win64_py37_64]
platform = win32
basepython = C:\Python37-x64\python.exe
[testenv:win64_py38_32]
platform = win32
basepython = C:\Python38\python.exe
[testenv:win64_py38_64]
platform = win32
basepython = C:\Python38-x64\python.exe
[testenv:win64_py39_32]
platform = win32
basepython = C:\Python39\python.exe
[testenv:win64_py39_64]
platform = win32
basepython = C:\Python39-x64\python.exe
[testenv:win64_py310_32]
platform = win32
basepython = C:\Python310\python.exe
[testenv:win64_py310_64]
platform = win32
basepython = C:\Python310-x64\python.exe
# Note: The 32-bit versions of CygWin do not work:
# - Python 2.7 with cygwin 32-bit fails with "virtualenv is not compatible with
# this system or executable".
# - On Python 3.6 and upwards, Tox returns success but does not do anything.
[testenv:cygwin64_py27]
platform = cygwin
basepython = python2.7
[testenv:cygwin64_py36]
platform = cygwin
basepython = python3.6
[testenv:cygwin64_py37]
platform = cygwin
basepython = python3.7
[testenv:cygwin64_py38]
platform = cygwin
basepython = python3.8
[testenv:cygwin64_py39]
platform = cygwin
basepython = python3.9
[testenv:cygwin64_py310]
platform = cygwin
basepython = python3.10