[tox]
# We can't use "full product", since not all combinations are compatible
envlist =
    py{27,34,35,36}-django{17}-djcms{32}
    py{27,34,35,36}-django{18,19}-djcms{32,33,34}
    py{27,34,35,36}-django{110,111}-djcms{34}

skip_missing_interpreters = true

[tox:travis]
2.7 = py27
3.4 = py34
3.5 = py35
3.6 = py36

[testenv]
deps =
    djcms32: django-cms~=3.2.0
    djcms33: django-cms~=3.3.0
    djcms34: django-cms~=3.4.5
    django17: Django>=1.7,<1.8
    django18: Django>=1.8,<1.9
    django19: Django>=1.9,<1.10
    django110: Django>=1.10,<1.11
    django111: Django>=1.11,<1.12
    mysqlclient
    pytest
    pytest-cov
    pytest-django
    xlwt
commands =
    py.test -ra --cov form_designer --cov-report term --cov-report html form_designer {posargs}
setenv =
    DEBUG = 1
    PYTHONPATH = {toxinidir}
passenv =
    DATABASE*

[tox]
# We can't use "full product", since not all combinations are compatible
envlist =
    py{27,34}-django{17}-djcms{32}
    py{27,34,35,36}-django{18,19}-djcms{32,33,34}
    py{27,34,35,36}-django{110,111}-djcms{34}

skip_missing_interpreters = true

[tox:travis]
2.7 = py27
3.4 = py34
3.5 = py35
3.6 = py36

[testenv]
deps =
    djcms32: django-cms~=3.2.0
    djcms33: django-cms~=3.3.0
    djcms34: django-cms~=3.4.5
    django17: Django>=1.7,<1.8
    django18: Django>=1.8,<1.9
    django19: Django>=1.9,<1.10
    django110: Django>=1.10,<1.11
    django111: Django>=1.11,<1.12
    mysqlclient
    pytest
    pytest-cov
    pytest-django
    xlwt
commands =
    py.test -ra --cov form_designer --cov-report term --cov-report html form_designer {posargs}
setenv =
    DEBUG = 1
    PYTHONPATH = {toxinidir}
passenv =
    DATABASE*

Remove non-working combinations from test matrix
Tox: Remove non-working combinations from test matrix

Django 1.7 doesn't work with Python 3.5 or newer.
