-
Notifications
You must be signed in to change notification settings - Fork 23
/
tox.ini
84 lines (72 loc) · 1.47 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
83
84
[tox]
envlist = 26gevent, 27gevent, pypy2gevent, pypy2stackless, pypy3gevent, pypy3stackless, 33gevent, 34gevent, 35gevent, 36gevent, 27slptravis
[testenv]
commands = coverage run --source=goless,tests setup.py test
deps =
coverage
mock
nose
setenv =
GOLESS_BACKEND =
[testenv:26gevent]
deps =
{[testenv]deps}
unittest2
[testenv:27gevent]
[testenv:pypy2gevent]
basepython = pypy
deps =
{[testenv]deps}
gevent
setenv =
GOLESS_BACKEND = gevent
[testenv:pypy2stackless]
basepython = pypy
setenv =
GOLESS_BACKEND = stackless
[testenv:pypy3gevent]
basepython = pypy3
deps =
{[testenv]deps}
gevent
setenv =
GOLESS_BACKEND = gevent
[testenv:pypy3stackless]
basepython = pypy3
setenv =
GOLESS_BACKEND = stackless
[testenv:33gevent]
commands =
nosetests ./tests
deps =
{[testenv]deps}
cython
; Same as 33 gevent
[testenv:34gevent]
commands =
nosetests ./tests
deps =
{[testenv]deps}
cython
; Same as 33 gevent
[testenv:35gevent]
commands =
nosetests ./tests
deps =
{[testenv]deps}
cython
; Same as 33 gevent
[testenv:36gevent]
commands =
nosetests ./tests
deps =
{[testenv]deps}
cython
; See https://github.com/rgalanakis/goless/issues/20
; for info about the Stackless Python (slp) environments.
[testenv:27slptravis]
basepython = {homedir}/.cache/stackless-2.7.6/bin/python
; Coverage fails on stackless python; bypass for now
commands = python setup.py test
setenv =
GOLESS_BACKEND = stackless