Skip to content

Commit 310c7c2

Browse files
committed
fix pep8 environment, explicit python versions and require pytest>=2.5
1 parent 018e132 commit 310c7c2

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

tox.ini

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,38 @@
11
[tox]
2-
envlist = py25, py26, py27, py32, py33, hi26, hi27, hi32, hi33, pep8
2+
envlist = py26, py27, py32, py33, hi26, hi27, hi32, hi33, pep8
33

44
[testenv]
5-
deps=pytest
5+
deps=pytest>=2.5.0
66
commands = py.test []
77

8-
[testenv:py25]
9-
setenv =
10-
PIP_INSECURE=1
11-
deps =
12-
pytest
13-
148
[testenv:hi26]
9+
basepython = python2.6
1510
deps =
1611
hiredis
17-
pytest
12+
pytest>=2.5.0
1813
commands = py.test []
1914

2015
[testenv:hi27]
16+
basepython = python2.7
2117
deps =
2218
hiredis
23-
pytest
19+
pytest>=2.5.0
2420
commands = py.test []
2521

2622
[testenv:hi32]
23+
basepython = python3.2
2724
deps =
2825
hiredis
29-
pytest
26+
pytest>=2.5.0
3027
commands = py.test []
3128

3229
[testenv:hi33]
30+
basepython = python3.3
3331
deps =
3432
hiredis
35-
pytest
33+
pytest>=2.5.0
3634
commands = py.test []
3735

3836
[testenv:pep8]
3937
deps = pep8
40-
commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,build,*.egg .
38+
commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,docs,build,*.egg .

0 commit comments

Comments
 (0)