-
Notifications
You must be signed in to change notification settings - Fork 29
/
tox.ini
133 lines (109 loc) · 2.37 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
#envlist = py26, py27, py34, py35, py36, pypy
envlist = py27, py38, py39, py310, py311, py312, pypy,
py27gpg2, py38gpg2, py39gpg2, py310gpg2, py311gpg2, py312gpg2,
pypygpg2
isolated_build = True
[testenv]
commands = {envpython} test_gnupg.py
setenv =
NO_EXTERNAL_TESTS=1
passenv =
HOME
ENABLE_TOFU
STATIC_TEST_HOMEDIR
deps =
[testenv:py27gpg2]
envdir = {toxinidir}/.tox/py27
basepython = python2.7
setenv =
LD_LIBRARY_PATH=/home/vinay/tmp/lib
GPGBINARY=gpg2
NO_EXTERNAL_TESTS=1
passenv =
HOME
ENABLE_TOFU
[testenv:py36gpg2]
envdir = {toxinidir}/.tox/py36
basepython = python3.6
setenv =
LD_LIBRARY_PATH=/home/vinay/tmp/lib
GPGBINARY=gpg2
NO_EXTERNAL_TESTS=1
passenv =
HOME
ENABLE_TOFU
[testenv:py37gpg2]
envdir = {toxinidir}/.tox/py37
basepython = python3.7
setenv =
LD_LIBRARY_PATH=/home/vinay/tmp/lib
GPGBINARY=gpg2
NO_EXTERNAL_TESTS=1
passenv =
HOME
ENABLE_TOFU
[testenv:py38gpg2]
envdir = {toxinidir}/.tox/py38
basepython = python3.8
setenv =
LD_LIBRARY_PATH=/home/vinay/tmp/lib
GPGBINARY=gpg2
NO_EXTERNAL_TESTS=1
passenv =
HOME
ENABLE_TOFU
[testenv:py39gpg2]
envdir = {toxinidir}/.tox/py39
basepython = python3.9
setenv =
LD_LIBRARY_PATH=/home/vinay/tmp/lib
GPGBINARY=gpg2
NO_EXTERNAL_TESTS=1
passenv =
HOME
ENABLE_TOFU
[testenv:py310gpg2]
envdir = {toxinidir}/.tox/py310
basepython = python3.10
setenv =
LD_LIBRARY_PATH=/home/vinay/tmp/lib
GPGBINARY=gpg2
NO_EXTERNAL_TESTS=1
passenv =
HOME
ENABLE_TOFU
[testenv:py311gpg2]
envdir = {toxinidir}/.tox/py311
basepython = python3.11
setenv =
LD_LIBRARY_PATH=/home/vinay/tmp/lib
GPGBINARY=gpg2
NO_EXTERNAL_TESTS=1
passenv =
HOME
ENABLE_TOFU
[testenv:py312gpg2]
envdir = {toxinidir}/.tox/py312
basepython = python3.12
setenv =
LD_LIBRARY_PATH=/home/vinay/tmp/lib
GPGBINARY=gpg2
NO_EXTERNAL_TESTS=1
passenv =
HOME
ENABLE_TOFU
[testenv:pypygpg2]
envdir = {toxinidir}/.tox/pypy
basepython = pypy
setenv =
LD_LIBRARY_PATH=/home/vinay/tmp/lib
GPGBINARY=gpg2
NO_EXTERNAL_TESTS=1
passenv =
HOME
ENABLE_TOFU