1
1
[tox]
2
2
envlist =
3
- py{27,34,35,36}
4
- py36-aiohttp2
5
- py35-aiohttp2
3
+ py{27,34,35,36,37}
4
+ py{35,36,37}-aiohttp2
6
5
coverage-report
7
6
8
7
skip_missing_interpreters = True
@@ -28,13 +27,13 @@ deps =
28
27
py{27}: enum34
29
28
30
29
# Python3.5+ only deps
31
- py{35,36}: aiohttp >= 3.0.0
32
- py{35,36}: pytest-aiohttp
33
- py{35,36}: aiobotocore >= 0.10.0
30
+ py{35,36,37 }: aiohttp >= 3.0.0
31
+ py{35,36,37 }: pytest-aiohttp
32
+ py{35,36,37 }: aiobotocore >= 0.10.0
34
33
35
34
commands =
36
35
py{27,34}: coverage run --source aws_xray_sdk -m py.test tests --ignore tests/ext/aiohttp --ignore tests/ext/aiobotocore --ignore tests/test_async_local_storage.py --ignore tests/test_async_recorder.py
37
- py{35,36}: coverage run --source aws_xray_sdk -m py.test tests
36
+ py{35,36,37 }: coverage run --source aws_xray_sdk -m py.test tests
38
37
39
38
setenv =
40
39
DJANGO_SETTINGS_MODULE = tests.ext.django.app.settings
@@ -63,13 +62,24 @@ deps =
63
62
commands =
64
63
py{36}: coverage run --source aws_xray_sdk -m py.test tests/ext/aiohttp --ignore tests/ext/aiohttp/test_client.py
65
64
65
+ [testenv:py37-aiohttp2]
66
+ deps =
67
+ pytest > 3.0.0
68
+ aiohttp >= 2.3.0,<3.0.0
69
+ pytest-aiohttp
70
+ botocore
71
+ coverage
72
+
73
+ commands =
74
+ py{37}: coverage run --source aws_xray_sdk -m py.test tests/ext/aiohttp --ignore tests/ext/aiohttp/test_client.py
75
+
66
76
[testenv:coverage-report]
67
77
deps = coverage
68
78
skip_install = true
69
79
commands =
70
80
# might need to add coverage combine at some point
71
- py{36 }: coverage report
72
- py{36 }: coverage html
81
+ py{37 }: coverage report
82
+ py{37 }: coverage html
73
83
74
84
[flake8]
75
85
max-line-length =120
0 commit comments