File: tox.ini

package info (click to toggle)
redis-py-cluster 2.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 748 kB
  • sloc: python: 5,888; ruby: 1,045; makefile: 542
file content (53 lines) | stat: -rw-r--r-- 1,346 bytes parent folder | download | duplicates (2)
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, py34, py35, py36, py37, hi27, hi34, hi35, hi36, hi37, 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: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: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: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 .