-
Notifications
You must be signed in to change notification settings - Fork 14
/
tox.ini
37 lines (34 loc) · 812 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[tox]
envlist =
py{27,36}-django{18,19,110,111}
py{36}-django{20,21,22}
[travis:env]
DJANGO =
1.8: django18
1.9: django19
1.10: django110
1.11: django111
2.0: django20
2.1: django21
2.2: django22
[testenv]
commands = django-admin.py test
setenv =
DJANGO_SETTINGS_MODULE=test_app.settings
PYTHONPATH={toxinidir}
deps =
django18: django>=1.8, <1.9
django19: django>=1.9, <1.10
django110: django>=1.10, <1.11
django111: django>=1.11, <2.0
django20: django>=2.0, <2.1
django21: django>=2.1, <2.2
django22: django>=2.2, <2.3
[testenv:coverage]
basepython=python3.6
commands =
coverage run --branch --omit={envdir}/*,test_app/*.py,*/migrations/*.py {envbindir}/django-admin.py test
coveralls
deps =
coveralls
django>=2.0, <2.1