-
Notifications
You must be signed in to change notification settings - Fork 42
/
tox.ini
82 lines (63 loc) · 1.33 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
[tox]
envlist =
py27,pypy,
py27-twlatest,pypy-twlatest,
py27-tw121,pypy-tw121,
pyflakes
###########################
# Uses current Twisted
###########################
[testenv:py27]
deps =
{[testenv]deps}
Twisted
[testenv:pypy]
deps = {[testenv:py27]deps}
###########################
# Uses trunk Twisted
###########################
[testenv:py27-twtrunk]
basepython = python2.7
deps =
{[testenv]deps}
git+git://github.com/twisted/twisted.git
[testenv:pypy-twtrunk]
basepython = pypy
deps = {[testenv:py27-twtrunk]deps}
###########################
# Uses latest Twisted
###########################
[testenv:py27-twlatest]
basepython = python2.7
deps =
{[testenv]deps}
Twisted
[testenv:pypy-twlatest]
basepython = pypy
deps = {[testenv:py27-twlatest]deps}
###########################
# Uses Twisted 12.1
###########################
[testenv:py27-tw121]
basepython = python2.7
deps =
{[testenv]deps}
Twisted==12.1
[testenv:pypy-tw121]
basepython = pypy
deps = {[testenv:py27-tw121]deps}
###########################
# Run pyflakes
###########################
[testenv:pyflakes]
deps = pyflakes
commands = pyflakes txjsonrpc
###########################
# Default testenv
###########################
[testenv]
deps = mock
commands =
{envpython} --version
trial --version
trial txjsonrpc