-
-
Notifications
You must be signed in to change notification settings - Fork 260
/
tox.ini
75 lines (58 loc) · 1.34 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
[testenv]
commands = py.test {posargs:tests}
install_command = pip install --pre {opts} {packages}
#*************************************************************************
# Test various runtimes.
#*************************************************************************
[base]
deps2 =
-r{toxinidir}/requirements-dev.pip
-r{toxinidir}/requirements-dev-2.x.pip
deps26 =
argparse==1.2.1
{[base]deps2}
deps3 =
-r{toxinidir}/requirements-dev.pip
[testenv:py33]
basepython = python3.3
deps =
{[base]deps3}
[testenv:py34]
basepython = python3.4
deps =
{[base]deps3}
[testenv:py27]
basepython = python2.7
deps =
{[base]deps2}
[testenv:py26]
basepython = python2.6
deps =
{[base]deps26}
[testenv:pypy]
basepython = pypy
deps =
{[base]deps26}
#*************************************************************************
# Test with various dependencies. Those suffice to be tested with the
# latest Python version.
#*************************************************************************
[testenv:no-glob2]
basepython = python2.7
deps =
pytest==2.5.2
mock==0.8.0
jinja2==2.5
pyyaml==3.10
[testenv:external-jsmin]
basepython = python2.7
deps =
pytest==2.5.2
mock==0.8.0
jsmin==2.0.2
[testenv:external-rjsmin]
basepython = python2.7
deps =
pytest==2.5.2
mock==0.8.0
rjsmin>=1.0.12