-
Notifications
You must be signed in to change notification settings - Fork 10
/
tox.ini
70 lines (64 loc) · 1.37 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[tox]
envlist =
{py36,py37}-django-master
{py35,py36,py37}-django-22
{py35,py36,py37}-django-21
{py35,py36,py37}-django-20
quality
docs
skipsdist = true
[django-master]
deps =
https://github.com/django/django/archive/master.tar.gz
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/
DJANGO_SETTINGS_MODULE = tests.settings
whitelist_externals = bash
deps =
django-master: {[django-master]deps}
django-22: Django>=2.2,<2.3
django-21: Django>=2.1,<2.2
django-20: Django>=2.0,<2.1
-r{toxinidir}/requirements/test.txt
basepython =
py37: python3.7
py36: python3.6
py35: python3.5
commands =
coverage run --source django_zombodb runtests.py
[testenv:docs]
setenv =
DJANGO_SETTINGS_MODULE = example.example.settings
whitelist_externals =
make
rm
deps =
-r{toxinidir}/requirements/doc.txt
commands =
pip install -e .
make docs
python setup.py check --restructuredtext --strict
basepython =
python3.7
[testenv:quality]
whitelist_externals =
make
rm
touch
deps =
-r{toxinidir}/requirements/doc.txt
-r{toxinidir}/requirements/quality.txt
-r{toxinidir}/requirements/test.txt
commands =
touch tests/__init__.py
make lint
make selfcheck
basepython =
python3.7
[travis:env]
DJANGO =
2.2: django-22
2.1: django-21
2.0: django-20
master: django-master