0.5: Django 3.2 support, drop Django<1.11, Python<3.6, remove some compatibility...
[fnpdjango.git] / tox.ini
1 # This file is part of FNPDjango, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See README.md for more information.
3 #
4 [tox]
5 envlist=clear,
6     d111-py{36,37},
7     d20-py{36,37},
8     d21-py{36,37},
9     d22-py{36,37,38},
10     d30-py{36,37,38},
11     d31-py{36,37,38,39},
12     d32-py{36,37,38,39},
13     stats
14
15 [testenv]
16 commands=coverage run --source=fnpdjango --append --branch runtests.py
17 deps=
18     django-pipeline==2.0.5
19     d111: Django>=1.11,<2.0
20     d20: Django>=2.0,<2.1
21     d21: Django>=2.1,<2.2
22     d22: Django>=2.2,<3.0
23     d30: Django>=3.0,<3.1
24     d31: Django>=3.1,<3.2
25     d32: Django>=3.2,<4.0
26     coverage
27 extras=
28     textile
29
30 [testenv:clear]
31 basepython=python3
32 commands=coverage erase
33
34 [testenv:stats]
35 basepython=python3
36 commands=coverage html
37