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