summaryrefslogtreecommitdiff
path: root/misc/tox.ini
blob: 2bbe3a80e2ebdd2a3c8965e3718c1fcca87b0528 (plain)
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[tox]
; py25_c disabled because TRAVISCI RAGE
envlist = pypy_cffi,py26_cffi,py27_cffi,py30_cffi,py31_cffi,py32_cffi,py33_cffi,py26_c,py27_c,py33_c
skipsdist = True

[testenv]
install_command = pip install {opts} {packages}
commands =
    pip install -e .
    python -mpytest ./tests

[testenv:pypy_cffi]
basepython = pypy
deps =
    pytest

[testenv:py26_cffi]
basepython = python2.6
deps =
    pytest
    cffi
setenv = LMDB_FORCE_CFFI=1

[testenv:py27_cffi]
basepython = python2.7
deps =
    pytest
    cffi
setenv = LMDB_FORCE_CFFI=1

[testenv:py30_cffi]
basepython = python3.0
deps =
    pytest
    cffi
setenv = LMDB_FORCE_CFFI=1

[testenv:py31_cffi]
basepython = python3.1
deps =
    pytest
    cffi
setenv = LMDB_FORCE_CFFI=1

[testenv:py32_cffi]
basepython = python3.2
deps =
    pytest
    cffi
setenv = LMDB_FORCE_CFFI=1

[testenv:py33_cffi]
basepython = python3.3
deps =
    pytest
    cffi
setenv = LMDB_FORCE_CFFI=1

[testenv:py34_cffi]
basepython = python3.4
deps =
    pytest
    cffi
setenv = LMDB_FORCE_CFFI=1

[testenv:py25_c]
deps =
    pytest
setenv = PIP_INSECURE=1
basepython = python2.5

[testenv:py26_c]
deps =
    pytest
basepython = python2.6

[testenv:py27_c]
deps =
    pytest
basepython = python2.7

[testenv:py33_c]
deps =
    pytest
basepython = python3.3

;[testenv:py34_c]
;basepython = python3.4