summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 6ead28246c3c81eb8314951bf66566a90b1f2154 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[tox]
minversion = 2.4
envlist = {py27,py35,py36,py37,py38,py,py3}-{plain,hiredis}, pycodestyle

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

[testenv:pycodestyle]
basepython = python3.6
deps = pycodestyle
commands = pycodestyle
skipsdist = true
skip_install = true