Python 3, Django 1.7+ compatilibity, some tests.
[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     d{17,d}-py{27,32,33,34},
9     stats
10
11 [testenv]
12 indexserver=https://py.mdrn.pl:8443
13 commands=coverage run --source=fnpdjango --append --branch runtests.py
14 deps=
15     d14: Django>=1.4,<1.5
16     d15: Django>=1.5,<1.6
17     d16: Django>=1.6,<1.7
18     d17: Django>=1.7,<1.8
19     dd: https://github.com/django/django/zipball/master
20     coverage
21 install_command =
22     pip install --process-dependency-links {opts} {packages}
23
24 [testenv:clear]
25 basepython=python3.4
26 commands=coverage erase
27
28 [testenv:stats]
29 basepython=python3.4
30 commands=coverage html
31