forked from django-cms/cmsplugin-filer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
30 lines (27 loc) · 723 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
[tox]
envlist =
flake8
py27-dj18-cms31
py27-dj{17,16}-cms{31,30}
py26-dj{16}-cms{31,31}
[testenv]
commands =
{envpython} --version
- coverage erase
coverage run test_settings.py
- coverage report
deps=
dj16: -rtest_requirements/django_1.6.txt
dj17: -rtest_requirements/django_1.7.txt
dj18: -rtest_requirements/django_1.8.txt
py26: unittest2
cms30: django-cms<3.1 # rq.filter: <3.1
cms31: django-cms>3.1.1,<3.2 # rq.filter: >3.1.1,<3.2
[testenv:flake8]
deps = flake8
commands = flake8
basepython = python2.7
[flake8]
ignore = E251,E128
exclude = cmsplugin_filer_*/migrations/*,cmsplugin_filer_*/migrations_django/*,docs/conf.py,node_modules/*
max-line-length = 80