forked from getsentry/sentry-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
85 lines (76 loc) · 2.28 KB
/
tox.ini
File metadata and controls
85 lines (76 loc) · 2.28 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# Tox (http://codespeak.net/~hpk/tox/) 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 =
# core
py{2.7,3.4,3.5,3.6,3.7,3.8}
pypy
# integrations
{py3.5,py3.6,py3.7}-django-{2.0,2.1,dev}
{pypy,py2.7,py3.5}-django-1.11
{pypy,py2.7,py3.4,py3.5}-django-{1.8,1.9,1.10}
{pypy,py2.7,py3.4,py3.5}-django-1.8
{pypy,py2.7,py3.4}-django-1.7
{pypy,py2.7}-django-1.6
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-flask-{1.0,0.11,0.12,dev}
{py2.7,py3.7}-requests
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-celery-4
py3.7-aws_lambda
{pypy,py2.7}-celery-3
[testenv]
deps =
-r test-requirements.txt
django-{1.6,1.7,1.8}: pytest-django<3.0
django-{1.9,1.10,1.11,2.0,2.1,dev}: pytest-django>=3.0
django-1.6: Django>=1.6,<1.7
django-1.7: Django>=1.7,<1.8
django-1.8: Django>=1.8,<1.9
django-1.9: Django>=1.9,<1.10
django-1.10: Django>=1.10,<1.11
django-1.11: Django>=1.11,<1.12
django-2.0: Django>=2.0,<2.1
django-2.1: Django>=2.0,<2.1
django-dev: git+https://github.com/django/django.git#egg=Django
flask-0.11: Flask>=0.11,<0.12
flask-0.12: Flask>=0.12,<0.13
flask-1.0: Flask>=0.10,<0.11
flask-dev: git+https://github.com/pallets/flask.git#egg=flask
celery-3: Celery>=3.1,<4.0
celery-4: Celery>=4.0,<5.0
requests: requests>=2.0
aws_lambda: boto3
flask: flask-login
linters: black
linters: flake8
setenv =
PYTHONDONTWRITEBYTECODE=1
TESTPATH=tests
django: TESTPATH=tests/integrations/django
flask: TESTPATH=tests/integrations/flask
celery: TESTPATH=tests/integrations/celery
requests: TESTPATH=tests/integrations/requests
aws_lambda: TESTPATH=tests/integrations/aws_lambda
passenv =
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_IAM_ROLE
usedevelop = True
extras =
flask: flask
basepython =
py2.7: python2.7
py3.4: python3.4
py3.5: python3.5
py3.6: python3.6
py3.7: python3.7
py3.8: python3.8
linters: python3
pypy: pypy
commands =
py.test {env:TESTPATH} {posargs}
[testenv:linters]
commands =
flake8 tests sentry_sdk
black --check tests sentry_sdk