22102fa30ad621d674cda91eafb486a140ab8e65
[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     d1{4,5,6}-py27,
7     d17-py27,
8     d{18,19,110}-py{27,35},
9     d111-py{27,35,36,37},
10     d20-py{35,36,37},
11     d21-py{35,36,37},
12     d22-py{35,36,37,38},
13     d30-py{36,37,38},
14     stats
15
16 [testenv]
17 commands=coverage run --source=fnpdjango --append --branch runtests.py
18 deps=
19     d14: Django>=1.4,<1.5
20     d15: Django>=1.5,<1.6
21     d16: Django>=1.6,<1.7
22     d17: Django>=1.7,<1.8
23     d18: Django>=1.8,<1.9
24     d19: Django>=1.9,<1.10
25     d110: Django>=1.10,<1.11
26     d111: Django>=1.11,<2.0
27     d20: Django>=2.0,<2.1
28     d21: Django>=2.1,<2.2
29     d22: Django>=2.2,<3.0
30     d30: Django>=3.0,<3.1
31     coverage
32 extras=
33     textile
34
35 [testenv:clear]
36 basepython=python3
37 commands=coverage erase
38
39 [testenv:stats]
40 basepython=python3
41 commands=coverage html
42