1[tox]
2envlist = py27,py2_release,py2_no_ssl,py2_no_concurrent,py33,py34,py3_release,py3_no_ssl
3# and: pyflakes2,pyflakes3
4
5[testenv]
6deps=
7    six
8setenv =
9    TROLLIUSDEBUG = 1
10commands=
11    python -Wd runtests.py -r {posargs}
12
13[testenv:pyflakes2]
14basepython = python2
15deps=
16    pyflakes
17commands=
18    pyflakes trollius tests runtests.py check.py setup.py
19
20[testenv:pyflakes3]
21basepython = python3
22deps=
23    pyflakes
24commands=
25    pyflakes trollius tests runtests.py check.py setup.py
26
27[testenv:py26]
28deps=
29    futures
30    mock==1.0.1
31    ordereddict
32    six
33    unittest2
34
35[testenv:py27]
36deps=
37    futures
38    mock
39    six
40    unittest2
41
42[testenv:py2_release]
43# Run tests in release mode
44basepython = python2
45deps=
46    futures
47    mock
48    six
49    unittest2
50setenv =
51    TROLLIUSDEBUG =
52
53[testenv:py2_no_ssl]
54basepython = python2
55deps=
56    futures
57    mock
58    six
59    unittest2
60commands=
61    python -Wd runtests.py --no-ssl -r {posargs}
62
63[testenv:py2_no_concurrent]
64basepython = python2
65deps=
66    futures
67    mock
68    six
69    unittest2
70commands=
71    python -Wd runtests.py --no-concurrent -r {posargs}
72
73[testenv:py32]
74deps=
75    mock
76    six
77
78[testenv:py35]
79basepython = python3.5
80
81[testenv:py3_release]
82# Run tests in release mode
83basepython = python3
84setenv =
85    TROLLIUSDEBUG =
86
87[testenv:py3_no_ssl]
88basepython = python3
89commands=
90    python -Wd runtests.py --no-ssl -r {posargs}
91