forked from vintasoftware/celery-persistent-revokes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
60 lines (55 loc) · 1.22 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
[tox]
envlist =
{py27,py35,py36}-django111,
{py35,py36}-django20
quality
docs
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/celery_persistent_revokes
DJANGO_SETTINGS_MODULE = test.settings
commands = coverage run --source celery_persistent_revokes runtests.py
deps =
django111: Django>=1.11,<1.12
django20: Django>=2.0,<2.1
-r{toxinidir}/requirements/test.txt
basepython =
py36: python3.6
py35: python3.5
py27: python2.7
[testenv:docs]
setenv =
DJANGO_SETTINGS_MODULE = test.settings
whitelist_externals =
make
rm
deps =
-r{toxinidir}/requirements/doc.txt
commands =
rm -f docs/celery_persistent_revokes.rst
rm -f docs/modules.rst
sphinx-apidoc -o docs/ celery_persistent_revokes
make -C docs clean
make -C docs html
python setup.py check --restructuredtext --strict
basepython =
python3.6
[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
prospector
make selfcheck
basepython =
python3.6
[travis:env]
DJANGO =
1.11: django111
2.0: django20