/
tox.ini
182 lines (154 loc) · 3.83 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
# -----------------------------------------------------------------------------
# Tox config file for pywbem
#
# Supported platforms:
# Linux
# OS-X
# Windows (native and in UNIX-like environments)
# Note: The 32-bit versions of cygwin do not work and have been removed from
# appveyor.yml and tox.ini:
# - 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.
[tox]
minversion = 2.0
envlist =
py27
py34
py35
py36
py37
py38
win64_py27_32
win64_py27_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
cygwin64_py27
cygwin64_py36
cygwin64_py37
cygwin64_py38
# 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
# TODO(nocasedict): Re-enable once nocasedict has been released
# make installtest
make test
make leaktest
[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
# Note: The basepython file paths for the win64* tox environments are set for
# Appveyor CI.
[testenv:win64_py27_32]
platform = win32
basepython = C:\Python27\python.exe
[testenv:win64_py27_64]
platform = win32
basepython = C:\Python27-x64\python.exe
# Note: Python 3.4 is does not work on Windows because lxml does not install.
# It fails with missing include files from libxml2 and libxslt, although
# these packages are installed viy choco (and work with Python 3.5 and
# higher). Even if the include file paths are added via INCLUDE, it fails
# at the link step because libxslt.lib etc are needed but not part of
# the choco installation of libxml2 etc.
[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
# Note: The 32-bit versions of CygWin do not work and have been removed from
# appveyor.yml and tox.ini:
# - 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