summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 5058dd84d9852c220c740992b4d05824e630688d (plain)
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
[tox]
envlist = py27,py2_release,py2_no_ssl,py2_no_concurrent,py33,py34,py3_release,py3_no_ssl
# and: pyflakes2,pyflakes3

[testenv]
deps=
    aiotest
    six
setenv =
    TROLLIUSDEBUG = 1
commands=
    python -Wd runtests.py -r {posargs}
    python -Wd run_aiotest.py -r {posargs}

[testenv:pyflakes2]
basepython = python2
deps=
    pyflakes
commands=
    pyflakes trollius tests runtests.py check.py run_aiotest.py setup.py

[testenv:pyflakes3]
basepython = python3
deps=
    pyflakes
commands=
    pyflakes trollius tests runtests.py check.py run_aiotest.py setup.py

[testenv:py26]
deps=
    aiotest
    futures
    mock==1.0.1
    ordereddict
    six
    unittest2

[testenv:py27]
deps=
    aiotest
    futures
    mock
    six
    unittest2

[testenv:py2_release]
# Run tests in release mode
basepython = python2
deps=
    aiotest
    futures
    mock
    six
    unittest2
setenv =
    TROLLIUSDEBUG =

[testenv:py2_no_ssl]
basepython = python2
deps=
    aiotest
    futures
    mock
    six
    unittest2
commands=
    python -Wd runtests.py --no-ssl -r {posargs}

[testenv:py2_no_concurrent]
basepython = python2
deps=
    aiotest
    futures
    mock
    six
    unittest2
commands=
    python -Wd runtests.py --no-concurrent -r {posargs}

[testenv:py32]
deps=
    aiotest
    mock
    six

[testenv:py35]
basepython = python3.5

[testenv:py3_release]
# Run tests in release mode
basepython = python3
setenv =
    TROLLIUSDEBUG =

[testenv:py3_no_ssl]
basepython = python3
commands=
    python -Wd runtests.py --no-ssl -r {posargs}