wagtail/tox.ini

70 wiersze
1.3 KiB
INI
Czysty Zwykły widok Historia

2014-04-24 15:41:58 +00:00
[deps]
dj16=
Django>=1.6,<1.7
pyelasticsearch==0.6.1
elasticutils==0.8.2
2014-04-24 14:19:43 +00:00
[tox]
envlist =
2014-04-24 15:41:58 +00:00
py26-dj16-postgres,
py26-dj16-sqlite,
py27-dj16-postgres,
py27-dj16-sqlite
# 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 14:19:43 +00:00
[testenv]
commands=./runtests.py
2014-04-24 15:41:58 +00:00
[testenv:py26-dj16-postgres]
basepython=python2.6
deps =
{[deps]dj16}
psycopg2==2.5.2
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 11:21:17 +00: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 14:19:43 +00:00
[testenv:py27-dj16-postgres]
basepython=python2.7
deps =
2014-04-24 15:41:58 +00:00
{[deps]dj16}
2014-04-24 14:19:43 +00:00
psycopg2==2.5.2
setenv =
DATABASE_ENGINE=django.db.backends.postgresql_psycopg2
[testenv:py27-dj16-sqlite]
basepython=python2.7
deps =
2014-04-24 15:41:58 +00:00
{[deps]dj16}
setenv =
DATABASE_ENGINE=django.db.backends.sqlite3
2014-05-01 11:21:17 +00: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