Skip to content

Commit fef67e2

Browse files
committed
Fix tox environments for Django
1 parent 6ea561b commit fef67e2

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

tox.ini

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[tox]
22
envlist =
3-
py{27,34,35,36,37,38}
3+
py{27,34,35,36,37,38}-default
44
py{35,36,37,38}-aiohttp2
5-
py{27,34,35,36,37}-django{111}
6-
py{35,36,37,38}-django{22}
7-
py{36,37,38}-django{30}
5+
py{27,34,35,36,37}-django111
6+
py{35,36,37,38}-django22
7+
py{36,37,38}-django30
88
coverage-report
99

1010
skip_missing_interpreters = True
@@ -23,7 +23,7 @@ deps =
2323
django111: Django==1.11.*
2424
django22: Django==2.2.*
2525
django30: Django==3.0.*
26-
django-fake-model
26+
django{111,22,30}: django-fake-model
2727
pynamodb >= 3.3.1
2828
psycopg2
2929
pg8000
@@ -38,15 +38,9 @@ deps =
3838
py{35,36,37,38}: aiobotocore >= 0.10.0
3939

4040
commands =
41-
py{27,34,35,36,37}-django{111}: coverage run --source aws_xray_sdk -m py.test tests/ext/django
42-
codecov
43-
py{35,36,37,38}-django{22}: coverage run --source aws_xray_sdk -m py.test tests/ext/django
44-
codecov
45-
py{36,37,38}-django{30}: coverage run --source aws_xray_sdk -m py.test tests/ext/django
46-
codecov
47-
py{27,34}: coverage run --source aws_xray_sdk -m py.test tests --ignore tests/ext/aiohttp --ignore tests/ext/aiobotocore --ignore tests/ext/django --ignore tests/test_async_local_storage.py --ignore tests/test_async_recorder.py
48-
codecov
49-
py{35,36,37,38}: coverage run --source aws_xray_sdk -m py.test --ignore tests/ext/django tests
41+
py{27,34}-default: coverage run --source aws_xray_sdk -m py.test tests --ignore tests/ext/aiohttp --ignore tests/ext/aiobotocore --ignore tests/ext/django --ignore tests/test_async_local_storage.py --ignore tests/test_async_recorder.py
42+
py{35,36,37,38}-default: coverage run --source aws_xray_sdk -m py.test --ignore tests/ext/django tests
43+
django{111,22,30}: coverage run --source aws_xray_sdk -m py.test tests/ext/django
5044
codecov
5145

5246
setenv =

0 commit comments

Comments
 (0)