forked from apache/cassandra-python-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
29 lines (25 loc) · 730 Bytes
/
tox.ini
File metadata and controls
29 lines (25 loc) · 730 Bytes
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
[tox]
envlist = py26,py27,pypy,py33,py34
[base]
deps = nose
mock
PyYAML
six
[testenv]
deps = {[base]deps}
sure==1.2.3
blist
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]
deps = {[testenv]deps}
unittest2
# test skipping is different in unittest2 for python 2.7+; let's just use it where needed
[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