c21675b92a3191e2cfc35f6941bfe5f7d8663dbb
[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     stats
14
15 [testenv]
16 commands=coverage run --source=fnpdjango --append --branch runtests.py
17 deps=
18     django-pipeline==2.0.8
19     d20: Django>=2.0,<2.1
20     d21: Django>=2.1,<2.2
21     d22: Django>=2.2,<3.0
22     d30: Django>=3.0,<3.1
23     d31: Django>=3.1,<3.2
24     d32: Django>=3.2,<4.0
25     d40: Django>=4.0,<4.1
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