forked from django-commons/django-debug-toolbar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
88 lines (81 loc) · 1.58 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
87
88
[tox]
envlist =
flake8
style
readme
py{35,36,37}-dj111
py{35,36,37}-dj20
py{35,36,37}-dj21
py{35,36,37}-dj22
py{36,37}-djmaster
postgresql
mariadb
[testenv]
deps =
dj111: Django>=1.11,<2.0
dj20: Django>=2.0,<2.1
dj21: Django>=2.1,<2.2
dj22: Django>=2.2,<3.0
djmaster: https://github.com/django/django/archive/master.tar.gz
coverage
Jinja2
html5lib
selenium<4.0
sqlparse
setenv =
PYTHONPATH = {toxinidir}
whitelist_externals = make
pip_pre = True
commands = make coverage TEST_ARGS='{posargs:tests}'
[testenv:postgresql]
deps =
Django>=2.1,<2.2
coverage
Jinja2
html5lib
psycopg2-binary
selenium<4.0
sqlparse
setenv =
PYTHONPATH = {toxinidir}
DJANGO_DATABASE_ENGINE = postgresql
whitelist_externals = make
pip_pre = True
commands = make coverage TEST_ARGS='{posargs:tests}'
[testenv:mariadb]
deps =
Django>=2.1,<2.2
coverage
Jinja2
html5lib
mysqlclient<1.4
selenium<4.0
sqlparse
setenv =
PYTHONPATH = {toxinidir}
DJANGO_DATABASE_ENGINE = mysql
whitelist_externals = make
pip_pre = True
commands = make coverage TEST_ARGS='{posargs:tests}'
[testenv:flake8]
basepython = python3
commands = make flake8
deps = flake8
skip_install = true
[testenv:style]
basepython = python3
commands = make style_check
deps =
black
flake8
isort
skip_install = true
[testenv:jshint]
basepython = python3
commands = make jshint
skip_install = true
[testenv:readme]
basepython = python3
commands = python setup.py check -r -s
deps = readme_renderer
skip_install = true