This repository has been archived by the owner on Nov 19, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtox.ini
101 lines (78 loc) · 2.67 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[tox]
envlist = {py27,py26}-django{14,15,16,17}-oscar{05,06,07,08}-env{test,dev},test-postgres-south-migrations,test-mysql-south-migrations,test-postgres-django-migrations,test-mysql-django-migrations
[testenv]
basepython =
py26: python2.6
py27: python2.7
deps =
-r{toxinidir}/requirements.txt
oscar05: https://github.com/tangentlabs/django-oscar/archive/releases/0.5.zip
oscar06: https://github.com/tangentlabs/django-oscar/archive/releases/0.6.zip
oscar07: https://github.com/tangentlabs/django-oscar/archive/releases/0.7.zip
oscar08: https://github.com/tangentlabs/django-oscar/archive/master.zip
django14: https://github.com/django/django/archive/stable/1.4.x.zip
django15: https://github.com/django/django/archive/stable/1.5.x.zip
django16: https://github.com/django/django/archive/stable/1.6.x.zip
django17: https://github.com/django/django/archive/stable/1.7.x.zip
pudb
setenv:
ENV_NAME={envname}
commands =
envtest: py.test {posargs:tests}
envtest: py.test -m browser {posargs:tests}
envdev: {posargs:python sandbox/manage.py runserver}
usedevelop =
envdev: True
envtest: False
[testenv:test-mysql-south-migrations]
basepython = python2.7
usedevelop = False
deps =
-r{toxinidir}/requirements.txt
MySQL-python
https://github.com/django/django/archive/stable/1.6.x.zip
setenv:
DJANGO_SETTINGS_MODULE=settings_mysql
commands =
python sandbox/manage.py syncdb --noinput
python sandbox/manage.py migrate
[testenv:test-postgres-south-migrations]
basepython = python2.7
usedevelop = False
whitelist_externals = make psql
deps =
-r{toxinidir}/requirements.txt
psycopg2
https://github.com/django/django/archive/stable/1.6.x.zip
setenv:
DJANGO_SETTINGS_MODULE=settings_postgres
commands =
make postgres-db
python sandbox/manage.py syncdb --noinput
python sandbox/manage.py migrate
[testenv:test-mysql-django-migrations]
basepython = python2.7
usedevelop = False
deps =
-r{toxinidir}/requirements.txt
MySQL-python
https://github.com/tangentlabs/django-oscar/archive/master.zip
https://github.com/django/django/archive/stable/1.7.x.zip
setenv:
DJANGO_SETTINGS_MODULE=settings_mysql
commands =
python sandbox/manage.py migrate
[testenv:test-postgres-django-migrations]
basepython = python2.7
usedevelop = False
whitelist_externals = make psql
deps =
-r{toxinidir}/requirements.txt
psycopg2
https://github.com/tangentlabs/django-oscar/archive/master.zip
https://github.com/django/django/archive/stable/1.7.x.zip
setenv:
DJANGO_SETTINGS_MODULE=settings_postgres
commands =
make postgres-db
python sandbox/manage.py migrate