2014-01-05 09:34:10 +00:00
|
|
|
[tox]
|
2016-05-19 06:15:58 +00:00
|
|
|
envlist = pep8,isort,py{35,34,27}-django{19}-{cms33,cms32,knocker},py{35,34,33,27}-django{18}-cms{33,32,31},py{34,33,27}-django{17,16}-cms{32,31,30},py{26}-django16-cms{31,30}
|
2014-01-05 09:34:10 +00:00
|
|
|
|
|
|
|
[testenv]
|
2015-09-26 08:38:57 +00:00
|
|
|
commands = {env:COMMAND:python} cms_helper.py test djangocms_blog --no-migrate
|
2014-01-05 09:34:10 +00:00
|
|
|
deps =
|
2014-10-11 07:15:11 +00:00
|
|
|
django16: Django>=1.6,<1.7
|
2016-01-26 06:41:50 +00:00
|
|
|
django16: django-taggit<0.18
|
2016-02-07 20:42:08 +00:00
|
|
|
django16: django-mptt<0.8
|
2014-12-01 21:55:20 +00:00
|
|
|
django17: Django>=1.7,<1.8
|
2016-02-07 20:42:08 +00:00
|
|
|
django17: django-mptt<0.8
|
2015-12-20 18:23:42 +00:00
|
|
|
django18: Django>=1.8,<1.9
|
2016-02-07 20:42:08 +00:00
|
|
|
django18: django-mptt>=0.8
|
2015-12-20 18:23:42 +00:00
|
|
|
django19: Django>=1.9,<1.10
|
2016-02-07 20:42:08 +00:00
|
|
|
django19: django-mptt>=0.8
|
2015-06-02 16:20:54 +00:00
|
|
|
cms30: https://github.com/divio/django-cms/archive/support/3.0.x.zip
|
2015-06-28 16:34:33 +00:00
|
|
|
cms31: https://github.com/divio/django-cms/archive/support/3.1.x.zip
|
2015-12-20 18:23:42 +00:00
|
|
|
cms32: https://github.com/divio/django-cms/archive/release/3.2.x.zip
|
2016-05-19 06:15:58 +00:00
|
|
|
cms33: https://github.com/divio/django-cms/archive/develop.zip
|
2016-03-27 17:25:01 +00:00
|
|
|
knocker: https://github.com/divio/django-cms/archive/release/3.2.x.zip
|
2016-04-08 14:17:47 +00:00
|
|
|
knocker: https://github.com/nephila/django-knocker/archive/master.zip?0.1.1
|
2016-04-09 05:25:27 +00:00
|
|
|
django-meta>=1.2
|
2015-07-19 07:37:26 +00:00
|
|
|
https://github.com/nephila/djangocms-helper/archive/develop.zip
|
2014-10-11 07:15:11 +00:00
|
|
|
py26: unittest2
|
2016-04-29 09:04:58 +00:00
|
|
|
py26: django-filer<1.2
|
|
|
|
py26: cmsplugin-filer<1.1
|
|
|
|
py27: django-filer<1.3
|
|
|
|
py27: cmsplugin-filer<1.2
|
|
|
|
py33: django-filer<1.3
|
|
|
|
py33: cmsplugin-filer<1.2
|
|
|
|
py34: django-filer<1.3
|
|
|
|
py34: cmsplugin-filer<1.2
|
|
|
|
py35: django-filer<1.3
|
|
|
|
py35: cmsplugin-filer<1.2
|
2015-09-03 08:23:05 +00:00
|
|
|
https://github.com/aldryn/aldryn-apphooks-config/archive/master.zip
|
2015-10-25 16:03:31 +00:00
|
|
|
https://github.com/nephila/djangocms-apphook-setup/archive/master.zip
|
2016-02-27 06:42:48 +00:00
|
|
|
-r{toxinidir}/requirements-test.txt
|
2015-07-18 14:55:46 +00:00
|
|
|
|
|
|
|
[testenv:isort]
|
|
|
|
deps = isort
|
2015-09-12 22:33:13 +00:00
|
|
|
commands = isort -c -rc -df djangocms_blog tests
|
2015-07-19 11:02:32 +00:00
|
|
|
skip_install = true
|
2015-07-18 14:55:46 +00:00
|
|
|
|
|
|
|
[testenv:pep8]
|
|
|
|
deps = flake8
|
|
|
|
commands = flake8
|
2015-07-19 11:02:32 +00:00
|
|
|
skip_install = true
|