3b65f778e6
Fixes #169. We need this version for IMultiCommitStorage and the registerDB fix in ConflictResolvingStorage. Since these versions run on Python 2.7.8, there's no motivation for trying to go back farther.
69 lines
1.2 KiB
INI
69 lines
1.2 KiB
INI
[tox]
|
|
envlist = py27-mysql,py27-oldzodb,py27-postgres,pypy-mysql,pypy-postgres,py34-mysql,py34-postgres,py36-mysql,py36-postgres
|
|
|
|
[testenv]
|
|
# Our top-level 'relstorage' directory screws up imports.
|
|
# We really need to move that into a src/ subdir
|
|
changedir = {toxworkdir}
|
|
deps =
|
|
coverage
|
|
.[test]
|
|
commands =
|
|
coverage run -m relstorage.tests.alltests -f -v
|
|
|
|
[testenv:py27-mysql]
|
|
deps =
|
|
.[mysql]
|
|
{[testenv]deps}
|
|
|
|
[testenv:py27-oldzodb]
|
|
deps =
|
|
.[postgresql]
|
|
{[testenv]deps}
|
|
ZODB[test] == 4.4.3
|
|
ZEO == 4.3.1
|
|
transaction == 1.7.0
|
|
|
|
[testenv:py27-postgres]
|
|
deps =
|
|
.[postgresql]
|
|
{[testenv]deps}
|
|
|
|
|
|
[testenv:py34-postgres]
|
|
deps =
|
|
.[postgresql]
|
|
{[testenv]deps}
|
|
|
|
[testenv:py34-mysql]
|
|
deps =
|
|
.[mysql]
|
|
{[testenv]deps}
|
|
|
|
[testenv:py36-postgres]
|
|
deps =
|
|
.[postgresql]
|
|
{[testenv]deps}
|
|
|
|
[testenv:py36-mysql]
|
|
deps =
|
|
.[mysql]
|
|
{[testenv]deps}
|
|
|
|
|
|
# coverage is relatively quite slow on PyPy
|
|
|
|
[testenv:pypy-mysql]
|
|
deps =
|
|
.[mysql]
|
|
{[testenv]deps}
|
|
commands =
|
|
python -m relstorage.tests.alltests
|
|
|
|
[testenv:pypy-postgres]
|
|
deps =
|
|
.[postgresql]
|
|
{[testenv]deps}
|
|
commands =
|
|
python -m relstorage.tests.alltests
|