[tox]
envlist = py26dj14, py26dj15, py26dj16, py27dj14, py27dj15, py27dj16, py33dj15, py33dj16, py34dj15, py34dj16

[testenv]
setenv =
    PYTHONPATH = {toxinidir}:{toxinidir}/djangocms_page_meta
commands = djangocms-helper djangocms_page_meta test --cms --nose
deps =
    -r{toxinidir}/requirements-test.txt

[testenv:py26dj14]
basepython=python2.6
deps =
    django>=1.4,<1.5
    {[testenv]deps}

[testenv:py26dj15]
basepython=python2.6
deps =
    django>=1.5,<1.6
    {[testenv]deps}

[testenv:py26dj16]
basepython=python2.6
deps =
    django>=1.6,<1.7
    {[testenv]deps}

[testenv:py27dj14]
basepython=python2.7
deps =
    django>=1.4,<1.5
    {[testenv]deps}

[testenv:py27dj15]
basepython=python2.7
deps =
    django>=1.5,<1.6
    {[testenv]deps}

[testenv:py27dj16]
basepython=python2.7
deps =
    django>=1.6,<1.7
    {[testenv]deps}

[testenv:py33dj15]
basepython=python3.3
deps =
    django>=1.5,<1.6
    {[testenv]deps}

[testenv:py33dj16]
basepython=python3.3
deps =
    django>=1.6,<1.7
    {[testenv]deps}

[testenv:py34dj15]
basepython=python3.4
deps =
    django>=1.5,<1.6
    {[testenv]deps}

[testenv:py34dj16]
basepython=python3.4
deps =
    django>=1.6,<1.7
    {[testenv]deps}

[tox]
envlist = py26-django16-cms{30,31} py{27,33,34}-django{16,17}-cms{30,31}

[testenv]
commands = {env:COMMAND:python} setup.py test
deps =
    django16: Django>=1.6,<1.7
    django17: Django>=1.7,<1.8
    cms30: https://github.com/divio/django-cms/archive/support/3.0.x.zip
    cms31: https://github.com/divio/django-cms/archive/develop.zip
    py26: unittest2
    -r{toxinidir}/requirements-test.txt

Drop old Django versions, add tests for django CMS 3.1
Drop old Django versions, add tests for django CMS 3.1
