-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathtox.ini
33 lines (31 loc) · 874 Bytes
/
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
[tox]
# for py 3.x we are using only django 1.6.x as 1.5.x had only "experimental py3 support"
envlist =
py{27,py}-dj{14,15,16,17,18},
py{33,34}-dj{15,16,17,18},
py27-cov
skipsdist = True
usedevelop = True
[testenv]
commands = {posargs:py.test --create-db -vv}
basepython =
py27: python2.7
py33: python3.3
py34: python3.4
pypy: pypy
deps =
-rtestsapp/requirements.txt
dj14: django>=1.4,<1.4.999
dj15: django>=1.5,<1.5.999
dj16: django>=1.6,<1.6.999
dj17: django>=1.7,<1.7.999
dj18: django>=1.8,<1.8.999
dj19: https://github.com/django/django/archive/master.tar.gz#egg=django
setenv =
DJANGO_SETTINGS_MODULE = testsapp.tests_settings
PYTHONPATH = {toxinidir}/testsapp:{toxinidir}
[testenv:py27-cov]
commands = py.test --cov=dj_elastictranscoder
deps =
-rtestsapp/requirements.txt
django>=1.8,<1.8.999