forked from redis/redis-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
51 lines (42 loc) · 811 Bytes
/
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
[pytest]
addopts = -s
[tox]
minversion = 2.4
envlist = {py35,py36,py37,py38,py39,pypy3}-{plain,hiredis}, flake8, covreport, codecov
[testenv]
deps =
coverage
pytest >= 2.7.0
extras =
hiredis: hiredis
commands =
{envpython} -b -m coverage run -p -m pytest -W always {posargs}
{envpython} -b -m coverage combine --append
[testenv:flake8]
basepython = python3.6
deps = flake8
commands = flake8
skipsdist = true
skip_install = true
[testenv:pypy-plain]
basepython = pypy
[testenv:pypy-hiredis]
basepython = pypy
[testenv:pypy3-plain]
basepython = pypy3
[testenv:pypy3-hiredis]
basepython = pypy3
[testenv:codecov]
deps = codecov
commands = codecov
passenv =
REDIS_*
CI
CI_*
CODECOV_*
SHIPPABLE
GITHUB_*
VCS_*
[testenv:covreport]
deps = coverage
commands = coverage report