forked from wagtail/wagtail-localize
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtox.ini
45 lines (35 loc) · 1.21 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
[tox]
skipsdist = True
usedevelop = True
envlist = python{3.7,3.8,3.9}-django{2.2,3.0,3.1,3.2,master}-wagtail{2.11,2.12,2.13,main}-{sqlite,postgres}
[flake8]
# E501: Line too long
# W503: line break before binary operator (superseded by W504 line break after binary operator)
ignore = E501,W503
exclude = migrations,node_modules
[testenv]
install_command = pip install -e ".[testing]" -U {opts} {packages}
commands = coverage run testmanage.py test --deprecation all
basepython =
python3.7: python3.7
python3.8: python3.8
python3.9: python3.9
deps =
coverage
django2.2: Django>=2.2,<2.3
django3.0: Django>=3.0,<3.1
django3.1: Django>=3.1,<3.2
django3.2: Django>=3.2,<4.0
djangomaster: git+https://github.com/django/django.git@master#egg=Django
djangomaster: git+https://github.com/wagtail/django-modelcluster.git
wagtail2.11: wagtail>=2.11,<2.12
wagtail2.12: wagtail>=2.12,<2.13
wagtail2.13: wagtail>=2.13,<2.14
wagtailmain: git+https://github.com/wagtail/wagtail.git
postgres: psycopg2>=2.6
setenv =
postgres: DATABASE_URL={env:DATABASE_URL:postgres:///wagtail_localize}
[testenv:flake8]
basepython=python3.7
deps=flake8>=2.2.0
commands=flake8 wagtail_localize