-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
86 lines (83 loc) · 2.05 KB
/
tox.ini
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
86
[tox]
envlist =
py35-dj{111,20,21,22},
py36-dj{111,20,21,22,30,31,32},
py37-dj{20,21,22,30,31,32},
py38-dj{22,30,31,32,main}
py39-dj{22,30,31,32,main}
[testenv]
commands =
coverage erase
py.test {posargs}
basepython =
py35: python3.5
py36: python3.6
py37: python3.7
py38: python3.8
py39: python3.9
deps =
py35: pytest
py36: pytest
py37: pytest
py38: pytest
dj111: Django~=1.11.0
dj111: djangorestframework~=3.11.0
dj111: django-polymorphic~=2.1.0
dj111: django-debug-toolbar~=2.2
dj20: Django~=2.0.0
dj20: djangorestframework
dj20: django-polymorphic~=2.1.0
dj20: django-debug-toolbar~=2.1
dj21: Django~=2.1.0
dj21: djangorestframework
dj21: django-polymorphic
dj21: django-debug-toolbar~=2.1
dj22: Django~=2.2.0
dj22: djangorestframework
dj22: django-polymorphic
dj22: django-debug-toolbar
dj30: Django~=3.0.0
dj30: djangorestframework
dj30: django-polymorphic
dj30: django-debug-toolbar
dj31: Django~=3.1.0
dj31: djangorestframework
dj31: django-polymorphic
dj31: django-debug-toolbar
dj32: Django>=3.2.0a0,<3.3
dj32: djangorestframework
dj32: django-polymorphic
dj32: django-debug-toolbar
djmain: https://github.com/django/django/zipball/main#egg=Django
djmain: git+https://github.com/pytest-dev/pytest-django#egg=pytest-django
djmain: djangorestframework
djmain: django-polymorphic
djmain: django-debug-toolbar
beautifulsoup4
#django-sortedm2m>=1.4
#django-debug-toolbar
django-extensions
#django-fortunecookie
#django-polymorphic
django-storages
#djangorestframework
Pillow
pycodestyle
pytest
pytest-cov
pytest-django
pytest-flake8
pytest-runner
setenv =
DJANGO_SETTINGS_MODULE = test_project.settings
PYTHONDONTWRITEBYTECODE = 1
install_command = pip install --pre {opts} {packages}
[testenv:py3{8,9}-djmain]
ignore_outcome = true
[gh-actions]
python =
3.5: py35
3.6: py36
3.7: py37
3.8: py38
3.9: py39