forked from Grokzen/redis-py-cluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
53 lines (44 loc) · 1.31 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
# Tox (http://tox.testrun.org/) 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 = py27, py35, py36, py37, py38, hi27, hi35, hi36, hi37, hi38, flake8-py34, flake8-py27
[testenv]
deps = -r{toxinidir}/dev-requirements.txt
commands = python {envbindir}/coverage run --source rediscluster -p -m py.test
[testenv:hi27]
basepython = python2.7
deps =
-r{toxinidir}/dev-requirements.txt
hiredis == 0.2.0
[testenv:hi35]
basepython = python3.5
deps =
-r{toxinidir}/dev-requirements.txt
hiredis == 0.2.0
[testenv:hi36]
basepython = python3.6
deps =
-r{toxinidir}/dev-requirements.txt
hiredis == 0.2.0
[testenv:hi37]
basepython = python3.7
deps =
-r{toxinidir}/dev-requirements.txt
hiredis == 0.2.0
[testenv:hi38]
basepython = python3.8
deps =
-r{toxinidir}/dev-requirements.txt
hiredis == 0.2.0
[testenv:flake8-py36]
basepython= python3.6
deps =
flake8==3.7.9
commands = flake8 --show-source --exclude=.venv,.tox,dist,docs,build,.git --ignore=E501,E731,E402 .
[testenv:flake8-py27]
basepython= python2.7
deps =
flake8==3.7.9
commands = flake8 --show-source --exclude=.venv,.tox,dist,docs,build,.git --ignore=E501,E731,E402 .