-
Notifications
You must be signed in to change notification settings - Fork 11
/
tox.ini
80 lines (57 loc) · 1.32 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
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
# If on windows, run like "tox -e py26w, py27w, py32w, py33w, py34w"
[tox]
envlist = py26, py27, py32, py33, py34
[testenv]
setenv =
CFLAGS=-Qunused-arguments
CPPFLAGS=-Qunused-arguments
deps =
bsddb3
mock
downloadcache = {homedir}/.tox/downloadcache
commands = {envpython} -Wi -m unittest discover test
[testenv:py26]
deps =
bsddb3
mock
unittest2
commands = unit2 discover test
[testenv:py33]
deps =
bsddb3
# i.e. do not require mock (is included with py33+)
[testenv:py34]
deps =
bsddb3
[testenv:py26w]
deps =
mock
unittest2
sitepackages = True
basepython = C:\Python26\python.exe
commands = {envpython} -Wi -m unit2 discover test
[testenv:py27w]
deps =
mock
sitepackages = True
basepython = C:\Python27\python.exe
[testenv:py32w]
deps =
mock
sitepackages = True
basepython = C:\Python32\python.exe
[testenv:py33w]
deps =
sitepackages = True
basepython = C:\Python33\python.exe
[testenv:py34w]
deps =
sitepackages = True
basepython = C:\Python34\python.exe
[testenv:pypy]
setenv =
FERENDA_PYTHON2_FALLBACK=/usr/bin/python2.7