2014-01-05 09:34:10 +00:00
|
|
|
[tox]
|
2018-01-14 11:54:44 +00:00
|
|
|
envlist = pep8,isort,docs,py{36,35,34,27}-django{111,110}-cms{35,34},py{35,34,27}-django{19}-cms{35,34,33,32},py{35,34,33,27}-django{18}-cms{35,34,33,32}
|
2014-01-05 09:34:10 +00:00
|
|
|
|
|
|
|
[testenv]
|
2018-01-14 11:54:44 +00:00
|
|
|
commands = {env:COMMAND:python} cms_helper.py djangocms_blog test
|
2014-01-05 09:34:10 +00:00
|
|
|
deps =
|
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
|
2016-06-22 06:10:38 +00:00
|
|
|
django18: django-filer<1.3
|
|
|
|
django18: cmsplugin-filer<1.2
|
2016-07-12 23:42:34 +00:00
|
|
|
django18: django-haystack
|
2016-10-29 15:42:47 +00:00
|
|
|
django18: djangocms-admin-style>1.2,<1.3
|
2017-07-25 17:05:51 +00:00
|
|
|
django18: django-parler>=1.6
|
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
|
2016-06-22 06:10:38 +00:00
|
|
|
django19: django-filer<1.3
|
|
|
|
django19: cmsplugin-filer<1.2
|
2016-12-03 22:20:00 +00:00
|
|
|
django110: Django>=1.10,<1.11
|
|
|
|
django110: django-mptt>=0.8
|
|
|
|
django110: https://github.com/divio/django-filer/archive/develop.zip
|
2015-12-20 18:23:42 +00:00
|
|
|
cms32: https://github.com/divio/django-cms/archive/release/3.2.x.zip
|
2016-05-26 22:12:54 +00:00
|
|
|
cms32: djangocms-text-ckeditor<3.0
|
2016-05-27 20:35:07 +00:00
|
|
|
cms33: https://github.com/divio/django-cms/archive/release/3.3.x.zip
|
2016-05-26 22:12:54 +00:00
|
|
|
cms33: djangocms-text-ckeditor>=3.0
|
2016-09-16 23:27:56 +00:00
|
|
|
cms34: https://github.com/divio/django-cms/archive/release/3.4.x.zip
|
2018-01-14 11:54:44 +00:00
|
|
|
cms34: djangocms-text-ckeditor>=3.2
|
|
|
|
cms35: https://github.com/divio/django-cms/archive/develop.zip
|
|
|
|
cms35: djangocms-text-ckeditor>=3.5
|
2018-02-02 07:04:43 +00:00
|
|
|
channels<2.0
|
2016-09-16 23:32:12 +00:00
|
|
|
https://github.com/nephila/django-knocker/archive/master.zip?0.1.1
|
2016-04-09 05:25:27 +00:00
|
|
|
django-meta>=1.2
|
2016-07-15 20:48:39 +00:00
|
|
|
html5lib<0.99999999
|
2018-01-14 11:54:44 +00:00
|
|
|
https://github.com/nephila/djangocms-helper/archive/develop.zip
|
2017-03-04 10:20:30 +00:00
|
|
|
aldryn-apphooks-config
|
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
|
2016-06-05 22:05:14 +00:00
|
|
|
|
|
|
|
[testenv:docs]
|
|
|
|
deps =
|
|
|
|
sphinx
|
|
|
|
sphinx-rtd-theme
|
2017-12-31 12:56:23 +00:00
|
|
|
-rrequirements-docs.txt
|
2016-06-05 22:05:14 +00:00
|
|
|
changedir=docs
|
|
|
|
skip_install = true
|
|
|
|
commands=
|
|
|
|
sphinx-build -W -b html -d {envtmpdir}/doctrees . {toxinidir}/docs/_build/html
|