forked from django-cms/djangocms-admin-style
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
41 lines (34 loc) · 794 Bytes
/
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
[tox]
envlist =
flake8
isort
docker
py{37,38}-dj{22}-cms{37,38}
py{37,38,39,310}-dj{31}-cms{38,39}
skip_missing_interpreters=True
[bdist_wheel]
universal=1
[testenv]
deps =
-r{toxinidir}/tests/requirements/base.txt
dj22: Django>=2.2,<3.0
dj31: Django>=3.1,<3.2
cms37: django-cms>=3.7,<3.8
cms38: django-cms>=3.8,<3.9
cms39: django-cms>=3.9,<3.10
commands =
{envpython} --version
{env:COMMAND:coverage} erase
{env:COMMAND:coverage} run setup.py test
{env:COMMAND:coverage} report
[testenv:flake8]
deps = flake8
commands = flake8
[testenv:isort]
deps = isort
commands = isort -c -df djangocms_admin_style
skip_install = true
[testenv:docker22]
commands = make test VERSION=2.2
[testenv:docker31]
commands = make test VERSION=3.1