2014-01-05 09:34:10 +00:00
|
|
|
[tox]
|
2015-07-19 08:36:52 +00:00
|
|
|
envlist = py{26}-django16-cms{30,31},py{27,33,34}-django{16,17}-cms{30,31,32},py{27,33,34}-django{18}-cms{31,32},pep8,isort
|
2014-01-05 09:34:10 +00:00
|
|
|
|
|
|
|
[testenv]
|
2015-07-04 08:50:04 +00:00
|
|
|
commands = {env:COMMAND:python} setup.py test
|
2014-01-05 09:34:10 +00:00
|
|
|
deps =
|
2014-10-11 07:15:11 +00:00
|
|
|
django16: Django>=1.6,<1.7
|
2014-12-01 21:55:20 +00:00
|
|
|
django17: Django>=1.7,<1.8
|
2015-06-28 16:34:33 +00:00
|
|
|
django18: Django>=1.7,<1.9
|
2015-07-19 07:37:26 +00:00
|
|
|
django18: https://github.com/stefanfoulis/django-filer/archive/develop.zip
|
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
|
|
|
|
cms32: https://github.com/divio/django-cms/archive/develop.zip
|
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
|
2014-06-09 06:38:37 +00:00
|
|
|
-r{toxinidir}/requirements-test.txt
|
2015-07-18 14:55:46 +00:00
|
|
|
|
|
|
|
[testenv:isort]
|
|
|
|
deps = isort
|
|
|
|
commands = isort -c -rc 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
|