forked from Grokzen/redis-py-cluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
47 lines (39 loc) · 1.2 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
# 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, py33, py34, py35, hi27, hi33, hi34, hi35, 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:hi33]
basepython = python3.3
deps =
-r{toxinidir}/dev-requirements.txt
hiredis == 0.2.0
[testenv:hi34]
basepython = python3.4
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:flake8-py34]
basepython= python3.4
deps =
flake8==2.2.5
commands = flake8 --show-source --exclude=.venv,.tox,dist,docs,build,.git --ignore=E501,E731,E402 .
[testenv:flake8-py27]
basepython= python2.7
deps =
flake8==2.2.5
commands = flake8 --show-source --exclude=.venv,.tox,dist,docs,build,.git --ignore=E501,E731,E402 .