forked from datastax/python-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
30 lines (26 loc) · 750 Bytes
/
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
[tox]
envlist = py26,py27,pypy,py33,py34
[base]
deps = nose
mock
unittest2
PyYAML
six
[testenv]
deps = {[base]deps}
blist
sure
setenv = USE_CASS_EXTERNAL=1
commands = {envpython} setup.py build_ext --inplace
nosetests --verbosity=2 tests/unit/
nosetests --verbosity=2 tests/integration/cqlengine
[testenv:py26]
commands = {envpython} setup.py build_ext --inplace
nosetests --verbosity=2 tests/unit/
# no cqlengine support for 2.6 right now
[testenv:pypy]
deps = {[base]deps}
commands = {envpython} setup.py build_ext --inplace
nosetests --verbosity=2 tests/unit/
# cqlengine/test_timestamp.py uses sure, which fails in pypy presently
# could remove sure usage