2015-04-03 15:38:08 +02:00
|
|
|
[tox]
|
|
|
|
skipsdist = True
|
|
|
|
usedevelop = True
|
|
|
|
|
2015-09-16 05:50:12 +02:00
|
|
|
envlist = py{27,33,34,35}-dj{17,18}-{sqlite,postgres,mysql}, flake8
|
2015-04-03 15:38:08 +02:00
|
|
|
|
2015-04-03 17:54:52 +02:00
|
|
|
[flake8]
|
2015-04-03 19:20:09 +02:00
|
|
|
ignore = E501,E128,E261,E302,E303,E124,E126
|
2015-04-03 18:37:50 +02:00
|
|
|
exclude = wagtail/project_template/*
|
2015-04-03 15:38:08 +02:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
commands=coverage run runtests.py
|
|
|
|
|
|
|
|
basepython =
|
|
|
|
py27: python2.7
|
|
|
|
py33: python3.3
|
|
|
|
py34: python3.4
|
2015-09-16 05:50:12 +02:00
|
|
|
py35: python3.5
|
2015-04-03 15:38:08 +02:00
|
|
|
|
|
|
|
deps =
|
2014-07-28 16:01:21 +02:00
|
|
|
django-compressor>=1.4
|
2015-04-01 22:43:17 +02:00
|
|
|
django-modelcluster>=0.6
|
|
|
|
django-taggit==0.13.0
|
2015-01-29 14:19:19 +01:00
|
|
|
django-treebeard==3.0
|
2015-04-10 05:44:41 +02:00
|
|
|
django-sendfile==0.3.6
|
2015-07-21 16:03:46 +02:00
|
|
|
djangorestframework==3.1.3
|
2014-07-28 16:01:21 +02:00
|
|
|
Pillow>=2.3.0
|
|
|
|
beautifulsoup4>=4.3.2
|
|
|
|
html5lib==0.999
|
|
|
|
Unidecode>=0.04.14
|
2014-07-02 18:31:06 +02:00
|
|
|
elasticsearch==1.1.0
|
2014-07-02 18:14:34 +02:00
|
|
|
mock==1.0.1
|
2014-07-18 15:54:30 +02:00
|
|
|
python-dateutil==2.2
|
2014-09-16 10:18:49 +02:00
|
|
|
pytz==2014.7
|
2014-07-28 16:01:21 +02:00
|
|
|
Embedly
|
2015-04-01 18:42:55 +02:00
|
|
|
Willow==0.2
|
2015-10-01 09:33:22 +02:00
|
|
|
jinja2==2.8
|
2014-07-28 16:01:21 +02:00
|
|
|
coverage
|
|
|
|
|
2015-04-03 15:38:08 +02:00
|
|
|
dj17: Django>=1.7.1,<1.8
|
|
|
|
dj18: Django>=1.8,<1.9
|
|
|
|
postgres: psycopg2>=2.6
|
|
|
|
mysql: mysqlclient==1.3.6
|
2014-07-28 16:01:21 +02:00
|
|
|
|
|
|
|
setenv =
|
2015-04-03 15:38:08 +02:00
|
|
|
postgres: DATABASE_ENGINE=django.db.backends.postgresql_psycopg2
|
2014-07-28 16:01:21 +02:00
|
|
|
|
2015-04-03 15:38:08 +02:00
|
|
|
mysql: DATABASE_ENGINE=django.db.backends.mysql
|
|
|
|
mysql: DATABASE_USER=wagtail
|
|
|
|
mysql: DATABASE_HOST=localhost
|
|
|
|
mysql: DATABASE_USER=root
|
2015-04-03 17:54:52 +02:00
|
|
|
|
|
|
|
[testenv:flake8]
|
|
|
|
basepython=python3.4
|
|
|
|
deps=flake8>=2.2.0
|
|
|
|
commands=flake8 wagtail
|