forked from datastax/python-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
52 lines (43 loc) · 1.14 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
[tox]
envlist = py{27,35,36,37,38},pypy
[base]
deps = nose
mock<=1.0.1
six
packaging
cython
eventlet
twisted <15.5.0
pure-sasl
kerberos
futurist
greenlet>=0.4.14,<0.4.17
lz4_dependency = py27,py35,py36,py37,py38: lz4
[testenv]
deps = {[base]deps}
{[base]lz4_dependency}
setenv = LIBEV_EMBED=0
CARES_EMBED=0
LC_ALL=en_US.UTF-8
changedir = {envtmpdir}
commands = nosetests --verbosity=2 --no-path-adjustment {toxinidir}/tests/unit/
[testenv:gevent_loop]
deps = {[base]deps}
{[base]lz4_dependency}
gevent>=1.4,<1.5
setenv = LIBEV_EMBED=0
CARES_EMBED=0
EVENT_LOOP_MANAGER=gevent
changedir = {envtmpdir}
commands =
nosetests --verbosity=2 --no-path-adjustment {toxinidir}/tests/unit/io/test_geventreactor.py
[testenv:eventlet_loop]
deps = {[base]deps}
{[base]lz4_dependency}
gevent>=1.4,<1.5
setenv = LIBEV_EMBED=0
CARES_EMBED=0
EVENT_LOOP_MANAGER=eventlet
changedir = {envtmpdir}
commands =
nosetests --verbosity=2 --no-path-adjustment {toxinidir}/tests/unit/io/test_eventletreactor.py