Skip to content

Commit 3bee77e

Browse files
committed
REF: graceful degradation refactoring of tox tests
1 parent 4c1d9ce commit 3bee77e

File tree

1 file changed

+23
-8
lines changed

1 file changed

+23
-8
lines changed

tox.ini

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[tox]
2-
envlist = py26, py27, py33, py34, py35, py36, py37, py38, pypy, pypy3, pycodestyle, cov
2+
envlist = py{26, 27, 33, 34, 35, 36, 37, 38}, pypy, pypy3, pycodestyle, cov
33

44
[testenv]
55
commands = pytest
66
setenv = DJANGO_SETTINGS_MODULE=jsonrpc.tests.test_backend_django.settings
77
deps =
88
pytest==5.2.2
9-
Django==1.11
10-
Flask==0.12.2
9+
Django==2.2.7
10+
Flask==1.1.1
1111

1212
# Python 2.6 configuration. Latest Django support is 1.6
1313
[testenv:py26]
@@ -24,18 +24,33 @@ deps =
2424
# https://www.djangoproject.com/weblog/2015/jun/25/roadmap/
2525
[testenv:py27]
2626
deps =
27-
{[testenv]deps}
27+
pytest==4.0.2
28+
attrs==19.1.0
2829
mock==2.0.0
30+
Django==1.11
31+
Flask==0.12.2
2932

30-
[testenv:py38]
33+
[testenv:py33]
3134
deps =
32-
{[testenv]deps}
33-
Django==2.2.7
35+
pytest==4.0.2
36+
attrs==19.1.0
37+
Django==1.11
38+
Flask==0.12.2
39+
40+
[testenv:py34]
41+
deps =
42+
pytest==4.0.2
43+
attrs==19.1.0
44+
Django==1.11
45+
Flask==0.12.2
3446

3547
[testenv:pypy]
3648
deps =
37-
{[testenv]deps}
49+
pytest==4.0.2
50+
attrs==19.1.0
3851
mock==2.0.0
52+
Django==1.11
53+
Flask==0.12.2
3954

4055
[testenv:pycodestyle]
4156
deps = pycodestyle

0 commit comments

Comments
 (0)