forked from zodb/relstorage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
68 lines (55 loc) · 1.16 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[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