Tested for Django 1.7-1.11
[django-migdal.git] / tox.ini
1 [tox]
2 envlist =
3     clean,
4     d17-py{27,34},
5     d{18,19,110}-py{27,34,35},
6     d111-py{27,34,35,36,37},
7     #d20-py{34,35,36,37},
8     #d{21,22}-py{35,36,37},
9     stats
10
11 [testenv]
12 deps =
13     d16: Django>=1.6,<1.7
14     d17: Django>=1.7,<1.8
15     d18: Django>=1.8,<1.9
16     d19: Django>=1.9,<1.10
17     d110: Django>=1.10,<1.11
18     d111: Django>=1.11,<2.0
19     d20: Django>=2.0,<2.1
20     d21: Django>=2.1,<2.2
21     d22: Django>=2.2,<2.3
22     coverage
23 commands =
24     coverage run --append example_project/manage.py test example_project
25 install_command = pip install --extra-index-url https://py.mdrn.pl/simple {packages}
26
27 [testenv:clean]
28 commands =
29     coverage erase
30 deps = coverage
31
32 [testenv:stats]
33 commands =
34     coverage report
35     coverage html
36 deps = coverage
37
38 [coverage:run]
39 branch = true
40 source = migdal
41