cf4976a3d0111e5dd8aa9dc9eabef2cee9e66ef9
[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     d14-py{26,27},
7     d1{5,6}-py{26,27,32,33},
8     d17-py{27,32,33,34},
9     d18-py{27,32,33,34,35},
10     d{19,d}-py{27,34,35},
11     stats
12
13 [testenv]
14 indexserver=https://py.mdrn.pl:8443
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     dd: https://github.com/django/django/zipball/master
24     coverage
25 install_command =
26     pip install --process-dependency-links {opts} {packages}
27
28 [testenv:clear]
29 basepython=python3.4
30 commands=coverage erase
31
32 [testenv:stats]
33 basepython=python3.4
34 commands=coverage html
35