Files
deb-python-cassandra-driver/tox.ini
2015-07-22 12:00:56 -05:00

35 lines
815 B
INI

[tox]
envlist = py{26,27,33,34},pypy,pypy3
[base]
deps = nose
mock<=1.0.1
PyYAML
six
[testenv]
deps = {[base]deps}
sure
blist
{env:CYTHON_DEP:}
py26: unittest2
py{26,27}: gevent
twisted
setenv = USE_CASS_EXTERNAL=1
LIBEV_EMBED=0
CARES_EMBED=0
changedir = {envtmpdir}
commands = nosetests --verbosity=2 --no-path-adjustment {toxinidir}/tests/unit/
nosetests --verbosity=2 --no-path-adjustment {toxinidir}/tests/integration/cqlengine
[testenv:pypy]
deps = {[base]deps}
commands = nosetests --verbosity=2 {toxinidir}/tests/unit/
[testenv:pypy3]
deps = {[base]deps}
commands = nosetests --verbosity=2 {toxinidir}/tests/unit/
# cqlengine/test_timestamp.py uses sure, which fails in pypy presently
# could remove sure usage