Update
[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     d20-py{36,37},
7     d21-py{36,37},
8     d22-py{36,37,38,39},
9     d30-py{36,37,38,39},
10     d31-py{36,37,38,39},
11     d32-py{36,37,38,39,310},
12     d40-py{38,39,310},
13     d41-py{38,39,310,311},
14     d42-py{38,39,310,311}
15     stats
16
17 [testenv]
18 commands=coverage run --source=fnpdjango --append --branch runtests.py
19 deps=
20     django-pipeline==2.0.8
21     d20: Django>=2.0,<2.1
22     d21: Django>=2.1,<2.2
23     d22: Django>=2.2,<3.0
24     d30: Django>=3.0,<3.1
25     d31: Django>=3.1,<3.2
26     d32: Django>=3.2,<4.0
27     d40: Django>=4.0,<4.1
28     d41: Django~=4.1
29     d42: Django~=4.2
30     coverage
31 extras=
32     textile
33
34 [testenv:clear]
35 basepython=python3
36 commands=coverage erase
37
38 [testenv:stats]
39 basepython=python3
40 commands=coverage html
41