2015-04-03 13:38:08 +00:00
|
|
|
[tox]
|
|
|
|
skipsdist = True
|
|
|
|
usedevelop = True
|
|
|
|
|
2016-11-08 11:17:26 +00:00
|
|
|
envlist = py{27,33,34,35}-dj{18,19}-{sqlite,postgres,mysql}-{elasticsearch5,elasticsearch2,elasticsearch,noelasticsearch},
|
|
|
|
py{27,34,35}-dj{110,110head}-{sqlite,postgres,mysql}-{elasticsearch5,elasticsearch2,elasticsearch,noelasticsearch},
|
2016-06-17 09:12:53 +00:00
|
|
|
flake8
|
2015-04-03 13:38:08 +00:00
|
|
|
|
|
|
|
[testenv]
|
2016-03-07 10:41:36 +00:00
|
|
|
install_command = pip install -e ".[testing]" -U {opts} {packages}
|
2016-05-03 09:57:36 +00:00
|
|
|
commands =
|
2016-07-04 19:32:31 +00:00
|
|
|
elasticsearch: coverage run runtests.py wagtail.wagtailsearch wagtail.wagtaildocs wagtail.wagtailimages --elasticsearch
|
2016-05-06 10:23:31 +00:00
|
|
|
elasticsearch2: coverage run runtests.py wagtail.wagtailsearch wagtail.wagtaildocs wagtail.wagtailimages --elasticsearch2
|
2016-11-08 11:17:26 +00:00
|
|
|
elasticsearch5: coverage run runtests.py wagtail.wagtailsearch wagtail.wagtaildocs wagtail.wagtailimages --elasticsearch5
|
2016-05-03 09:57:36 +00:00
|
|
|
noelasticsearch: coverage run runtests.py
|
2015-04-03 13:38:08 +00:00
|
|
|
|
|
|
|
basepython =
|
|
|
|
py27: python2.7
|
|
|
|
py33: python3.3
|
|
|
|
py34: python3.4
|
2015-09-16 03:50:12 +00:00
|
|
|
py35: python3.5
|
2015-04-03 13:38:08 +00:00
|
|
|
|
|
|
|
deps =
|
2015-04-10 03:44:41 +00:00
|
|
|
django-sendfile==0.3.6
|
2014-07-28 14:01:21 +00:00
|
|
|
Embedly
|
|
|
|
|
2016-01-05 17:38:29 +00:00
|
|
|
dj18: Django>=1.8.1,<1.9
|
|
|
|
dj19: Django>=1.9,<1.10
|
2016-06-17 09:12:53 +00:00
|
|
|
dj110: Django>=1.10a1,<1.11
|
2016-09-21 11:40:57 +00:00
|
|
|
dj110head: git+https://github.com/django/django.git@stable/1.10.x#egg=Django
|
2015-04-03 13:38:08 +00:00
|
|
|
postgres: psycopg2>=2.6
|
|
|
|
mysql: mysqlclient==1.3.6
|
2016-10-05 09:54:18 +00:00
|
|
|
elasticsearch: elasticsearch>=1,<2
|
2016-05-06 10:23:31 +00:00
|
|
|
elasticsearch2: elasticsearch>=2,<3
|
2016-11-08 11:17:26 +00:00
|
|
|
elasticsearch5: elasticsearch>=5,<6
|
2016-11-30 10:43:35 +00:00
|
|
|
elasticsearch5: certifi
|
2014-07-28 14:01:21 +00:00
|
|
|
|
|
|
|
setenv =
|
2015-04-03 13:38:08 +00:00
|
|
|
postgres: DATABASE_ENGINE=django.db.backends.postgresql_psycopg2
|
2014-07-28 14:01:21 +00:00
|
|
|
|
2015-04-03 13:38:08 +00:00
|
|
|
mysql: DATABASE_ENGINE=django.db.backends.mysql
|
|
|
|
mysql: DATABASE_USER=wagtail
|
|
|
|
mysql: DATABASE_HOST=localhost
|
|
|
|
mysql: DATABASE_USER=root
|
2015-04-03 15:54:52 +00:00
|
|
|
|
|
|
|
[testenv:flake8]
|
|
|
|
basepython=python3.4
|
|
|
|
deps=flake8>=2.2.0
|
|
|
|
commands=flake8 wagtail
|