summaryrefslogtreecommitdiff
path: root/tox.ini
blob: da92df6ebcaf25a93e3eaa9c85128155c59879d0 (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
[tox]
minversion = 2.4
envlist = {py27,py35,py36,py37,py38,py,py3}-{plain,hiredis}, flake8

[testenv]
deps =
    coverage
    mock
    pytest >= 2.7.0
extras =
    hiredis: hiredis
commands = {envpython} -b -m coverage run -m pytest -W always {posargs}

[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