0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-28 00:17:06 +01:00
wagtail/tox.ini

125 lines
2.4 KiB
INI
Raw Normal View History

2014-04-24 17:41:58 +02:00
[deps]
dj16=
Django>=1.6,<1.7
elasticsearch==1.1.0
mock==1.0.1
python-dateutil==2.2
2014-04-24 17:41:58 +02:00
2014-04-24 16:19:43 +02:00
[tox]
envlist =
2014-04-24 17:41:58 +02:00
py26-dj16-postgres,
py26-dj16-sqlite,
py27-dj16-postgres,
py27-dj16-sqlite,
2014-07-02 22:45:38 +02:00
py32-dj16-postgres,
py33-dj16-postgres,
py34-dj16-postgres
# mysql not currently supported
# (wagtail.wagtailimages.tests.TestImageEditView currently fails with a
# foreign key constraint error)
# py26-dj16-mysql
# py27-dj16-mysql
2014-04-24 16:19:43 +02:00
# South fails with sqlite on python3, because it tries to use DryRunMigrator which uses iteritems
# py32-dj16-sqlite,
# py33-dj16-sqlite,
# py34-dj16-sqlite
2014-04-24 16:19:43 +02:00
[testenv]
commands=./runtests.py
2014-04-24 17:41:58 +02:00
[testenv:py26-dj16-postgres]
basepython=python2.6
deps =
{[deps]dj16}
psycopg2==2.5.3
2014-04-24 17:41:58 +02:00
setenv =
DATABASE_ENGINE=django.db.backends.postgresql_psycopg2
[testenv:py26-dj16-sqlite]
basepython=python2.6
deps =
{[deps]dj16}
setenv =
DATABASE_ENGINE=django.db.backends.sqlite3
2014-05-01 13:21:17 +02:00
[testenv:py26-dj16-mysql]
basepython=python2.6
deps =
{[deps]dj16}
MySQL-python==1.2.5
setenv =
DATABASE_ENGINE=django.db.backends.mysql
DATABASE_USER=wagtail
2014-04-24 16:19:43 +02:00
[testenv:py27-dj16-postgres]
basepython=python2.7
deps =
2014-04-24 17:41:58 +02:00
{[deps]dj16}
psycopg2==2.5.3
setenv =
DATABASE_ENGINE=django.db.backends.postgresql_psycopg2
[testenv:py27-dj16-sqlite]
basepython=python2.7
deps =
2014-04-24 17:41:58 +02:00
{[deps]dj16}
setenv =
DATABASE_ENGINE=django.db.backends.sqlite3
2014-05-01 13:21:17 +02:00
[testenv:py27-dj16-mysql]
basepython=python2.7
deps =
{[deps]dj16}
MySQL-python==1.2.5
setenv =
DATABASE_ENGINE=django.db.backends.mysql
DATABASE_USER=wagtail
2014-07-02 22:45:38 +02:00
[testenv:py32-dj16-postgres]
basepython=python3.2
deps =
{[deps]dj16}
psycopg2==2.5.3
setenv =
DATABASE_ENGINE=django.db.backends.postgresql_psycopg2
[testenv:py32-dj16-sqlite]
basepython=python3.2
deps =
{[deps]dj16}
setenv =
DATABASE_ENGINE=django.db.backends.sqlite3
[testenv:py33-dj16-postgres]
basepython=python3.3
deps =
{[deps]dj16}
psycopg2==2.5.3
setenv =
DATABASE_ENGINE=django.db.backends.postgresql_psycopg2
[testenv:py33-dj16-sqlite]
basepython=python3.3
deps =
{[deps]dj16}
setenv =
DATABASE_ENGINE=django.db.backends.sqlite3
[testenv:py34-dj16-postgres]
basepython=python3.4
deps =
{[deps]dj16}
psycopg2==2.5.3
setenv =
DATABASE_ENGINE=django.db.backends.postgresql_psycopg2
[testenv:py34-dj16-sqlite]
basepython=python3.4
deps =
{[deps]dj16}
setenv =
DATABASE_ENGINE=django.db.backends.sqlite3