-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
46 lines (39 loc) · 1.04 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
[tox]
envlist = py{27,34,35,36}-django{18,19,110,111,20}
toxworkdir = {toxinidir}/.tox{env:PYTHON_VERSION:}
skip_missing_interpreters = True
[testenv]
extras = tests
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
-rrequirements/qa.txt
commands = py.test []
setenv =
BENCHMARK = True
DEBUGLOG = False
PIKALOG = False
passenv =
RABBITMQ_HOST
RABBITMQ_PORT
RABBITMQ_USER
RABBITMQ_PASSWORD
RABBITMQ_MANAGEMENT_PORT
PYTHONHUNTER
# Django 2.0 dropped Python 2 support.
[testenv:py27-django20]
install_command = /bin/echo {packages}
commands = /bin/true
# Official Python 3.6 support starts from Django 1.11
[testenv:py36-django18]
install_command = /bin/echo {packages}
commands = /bin/true
[testenv:py36-django19]
install_command = /bin/echo {packages}
commands = /bin/true
[testenv:py36-django110]
install_command = /bin/echo {packages}
commands = /bin/true