2015-04-19 14:29:16 +02:00
|
|
|
[pytest]
|
|
|
|
DJANGO_SETTINGS_MODULE=tests.app.settings
|
|
|
|
|
2012-05-03 12:23:51 +02:00
|
|
|
[testenv]
|
2015-04-19 14:29:16 +02:00
|
|
|
setenv = PYTHONPATH={toxinidir}
|
|
|
|
commands = py.test
|
2012-09-27 01:48:11 +02:00
|
|
|
|
2012-09-30 04:57:36 +02:00
|
|
|
[testenv:docs]
|
|
|
|
changedir = docs
|
|
|
|
commands = make html
|
2012-09-27 01:48:11 +02:00
|
|
|
deps =
|
2015-04-19 14:29:16 +02:00
|
|
|
-r{toxinidir}/requirements/django-dev.pip
|
2012-09-30 04:57:36 +02:00
|
|
|
Sphinx
|
2012-09-27 01:48:11 +02:00
|
|
|
|
2015-04-18 02:15:49 +02:00
|
|
|
; -- python 3.4 ---------------------------------------------------------------
|
|
|
|
|
|
|
|
[testenv:py34-dj]
|
|
|
|
basepython = python3.4
|
2015-04-19 14:29:16 +02:00
|
|
|
commands = python -W error {envbindir}/coverage run setup.py test []
|
|
|
|
deps = -r{toxinidir}/requirements/django-dev.pip
|
2015-04-18 02:15:49 +02:00
|
|
|
|
|
|
|
[testenv:py34-dj18]
|
|
|
|
basepython = python3.4
|
2015-04-19 14:29:16 +02:00
|
|
|
deps = -r{toxinidir}/requirements/django-1.8.x.pip
|
2015-04-18 02:15:49 +02:00
|
|
|
|
|
|
|
[testenv:py34-dj17]
|
|
|
|
basepython = python3.4
|
2015-04-19 14:29:16 +02:00
|
|
|
deps = -r{toxinidir}/requirements/django-1.7.x.pip
|
2015-04-18 02:15:49 +02:00
|
|
|
|
|
|
|
[testenv:py34-dj16]
|
|
|
|
basepython = python3.4
|
2015-04-19 14:29:16 +02:00
|
|
|
deps = -r{toxinidir}/requirements/django-1.6.x.pip
|
2015-04-18 02:15:49 +02:00
|
|
|
|
|
|
|
[testenv:py34-dj15]
|
|
|
|
basepython = python3.4
|
2015-04-19 14:29:16 +02:00
|
|
|
deps = -r{toxinidir}/requirements/django-1.5.x.pip
|
2015-04-18 02:15:49 +02:00
|
|
|
|
2013-03-28 22:43:25 +01:00
|
|
|
; -- python 3.3 ---------------------------------------------------------------
|
|
|
|
|
|
|
|
[testenv:py33-dj]
|
|
|
|
basepython = python3.3
|
2015-04-19 14:29:16 +02:00
|
|
|
commands = python -W error {envbindir}/coverage run setup.py test []
|
|
|
|
deps = -r{toxinidir}/requirements/django-dev.pip
|
2013-03-28 22:43:25 +01:00
|
|
|
|
2015-04-18 02:15:49 +02:00
|
|
|
[testenv:py33-dj18]
|
|
|
|
basepython = python3.3
|
2015-04-19 14:29:16 +02:00
|
|
|
deps = -r{toxinidir}/requirements/django-1.8.x.pip
|
2015-04-18 02:15:49 +02:00
|
|
|
|
|
|
|
[testenv:py33-dj17]
|
|
|
|
basepython = python3.3
|
2015-04-19 14:29:16 +02:00
|
|
|
deps = -r{toxinidir}/requirements/django-1.7.x.pip
|
2015-04-18 02:15:49 +02:00
|
|
|
|
2013-12-14 01:30:36 +01:00
|
|
|
[testenv:py33-dj16]
|
|
|
|
basepython = python3.3
|
2015-04-19 14:29:16 +02:00
|
|
|
deps = -r{toxinidir}/requirements/django-1.6.x.pip
|
2013-12-14 01:30:36 +01:00
|
|
|
|
2013-03-28 22:43:25 +01:00
|
|
|
[testenv:py33-dj15]
|
|
|
|
basepython = python3.3
|
2015-04-19 14:29:16 +02:00
|
|
|
deps = -r{toxinidir}/requirements/django-1.5.x.pip
|
2013-03-28 22:43:25 +01:00
|
|
|
|
2012-05-03 12:23:51 +02:00
|
|
|
; -- python 2.7 ---------------------------------------------------------------
|
|
|
|
|
2012-05-11 02:37:13 +02:00
|
|
|
[testenv:py27-dj]
|
|
|
|
basepython = python2.7
|
2015-04-19 14:29:16 +02:00
|
|
|
commands = python -W error {envbindir}/coverage run setup.py test []
|
|
|
|
deps = -r{toxinidir}/requirements/django-dev.pip
|
|
|
|
|
|
|
|
[testenv:py27-dj18]
|
|
|
|
basepython = python2.7
|
|
|
|
deps = -r{toxinidir}/requirements/django-1.8.x.pip
|
|
|
|
|
|
|
|
[testenv:py27-dj17]
|
|
|
|
basepython = python2.7
|
|
|
|
deps = -r{toxinidir}/requirements/django-1.7.x.pip
|
2012-05-11 02:37:13 +02:00
|
|
|
|
2013-12-14 01:30:36 +01:00
|
|
|
[testenv:py27-dj16]
|
|
|
|
basepython = python2.7
|
2015-04-19 14:29:16 +02:00
|
|
|
deps = -r{toxinidir}/requirements/django-1.6.x.pip
|
2013-12-14 01:30:36 +01:00
|
|
|
|
2013-03-23 19:18:55 +01:00
|
|
|
[testenv:py27-dj15]
|
|
|
|
basepython = python2.7
|
2015-04-19 14:29:16 +02:00
|
|
|
deps = -r{toxinidir}/requirements/django-1.5.x.pip
|
2013-03-23 19:18:55 +01:00
|
|
|
|
2012-09-27 01:48:11 +02:00
|
|
|
[testenv:py27-dj14]
|
2012-05-11 02:37:13 +02:00
|
|
|
basepython = python2.7
|
2015-04-19 14:29:16 +02:00
|
|
|
deps = -r{toxinidir}/requirements/django-1.4.x.pip
|
2012-05-11 02:37:13 +02:00
|
|
|
|
2012-09-27 01:48:11 +02:00
|
|
|
[testenv:py27-dj13]
|
2012-05-03 12:23:51 +02:00
|
|
|
basepython = python2.7
|
2015-04-19 14:29:16 +02:00
|
|
|
deps = -r{toxinidir}/requirements/django-1.3.x.pip
|