Test for Django up to 4.2.
[django-pagination.git] / tox.ini
1 [tox]
2 envlist=clear,
3     d{21}-py{36,37}
4     d{22,30,31}-py{36,37,38,39}
5     d32-py{36,37,38,39,310}
6     d40-py{38,39,310}
7     d41-py{38,39,310,311}
8     d42-py{38,39,310,311}
9     stats
10
11 [testenv]
12 commands=coverage run --source=fnp_django_pagination --omit *runner*,*test_project* setup.py test
13 deps=
14     d20: Django>=2.0,<2.1
15     d21: Django>=2.1,<2.2
16     d22: Django>=2.2,<3.0
17     d30: Django>=3.0,<3.1
18     d31: Django>=3.1,<3.2
19     d32: Django>=3.2,<4.0
20     d40: Django>=4.0,<4.1
21     d41: Django~=4.1
22     d42: Django~=4.2
23     coverage
24
25 [testenv:clear]
26 basepython=python3
27 commands=coverage erase
28
29 [testenv:stats]
30 basepython=python3
31 commands=coverage html