-
Notifications
You must be signed in to change notification settings - Fork 10
/
tox.ini
55 lines (50 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
[tox]
envlist = py27-django{16,17,18}
[testenv]
usedevelop = True
deps =
-rdev-requirements.txt
django16: Django>=1.6,<1.7
django17: Django>=1.6,<1.8
django18: Django==1.8
commands =
django-admin.py test --settings=testing.test_settings {posargs:postorius}
setenv =
PYTHONPATH = {toxinidir}
[testenv:record]
basepython = python2.7
deps =
-rdev-requirements.txt
Django==1.8
setenv =
PYTHONPATH = {toxinidir}
POSTORIUS_VCR_RECORD_MODE = all
commands =
django-admin.py test --settings=testing.test_settings {posargs:postorius}
# These are used for local development and expect mailman.client to be
# sitting in a directory next to this one.
[testenv:dev]
usedevelop = True
basepython = python2.7
deps =
-rdev-requirements.txt
Django==1.8
setenv =
PYTHONPATH = {toxinidir}
commands =
# Install mailman.client from local repo instead of from pypi
pip install -e ../mailman.client
django-admin.py test --settings=testing.test_settings {posargs:postorius}
[testenv:dev-record]
usedevelop = True
basepython = python2.7
deps =
-rdev-requirements.txt
Django==1.8
setenv =
PYTHONPATH = {toxinidir}
POSTORIUS_VCR_RECORD_MODE = all
commands =
# Install mailman.client from local repo instead of from pypi
pip install -e ../mailman.client
django-admin.py test --settings=testing.test_settings {posargs:postorius}