forked from django-cms/cmsplugin-filer
-
Notifications
You must be signed in to change notification settings - Fork 14
/
tox.ini
32 lines (29 loc) · 821 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
[tox]
toxworkdir = {homedir}/.toxenvs/cmsplugin-filer
envlist =
flake8
py{38,37,36,35,34}-dj111-cms{37,36,35,34}
py{38,37,36,35,34}-dj21-cms{37,36,35,34}
py{38,37,36,35,34}-dj22-cms{37,36,35,34}
[testenv]
commands =
{envpython} --version
- coverage erase
coverage run test_settings.py
- coverage report
deps=
dj111: -rtest_requirements/django_1.11.txt
dj21: -rtest_requirements/django_2.1.txt
dj22: -rtest_requirements/django_2.2.txt
cms34: django-cms>=3.4,<3.5
cms35: django-cms>=3.5,<3.6
cms36: django-cms>=3.6,<3.7
cms37: django-cms>=3.7,<3.8
[testenv:flake8]
deps = flake8
commands = flake8
basepython = python3.7
[flake8]
ignore = E251,E128,E501
exclude = cmsplugin_filer_*/migrations/*,docs/conf.py,node_modules/*,build/*,.venv/*
max-line-length = 120