[tox]
envlist =
    py{27,34,35}-django{18,19,110}-{sqlite,postgres}

[testenv]
commands =
    py.test
passenv = DB
deps =
  pytest
  psycopg2>=2.3
  django18: Django>=1.8,<1.9
  django18: pytest-django>=3.1
  django19: Django>=1.9,<1.10
  django19: pytest-django>=3.1
  django110: Django>=1.10,<1.11
  django110: pytest-django>=3.1
setenv =
  sqlite: DB=sqlite
  postgres: DB=postgres
[tox]
envlist =
    py{27,34,35}-django{18,19,110,111}-{sqlite,postgres}

[testenv]
commands =
    py.test
passenv = DB
deps =
  pytest
  psycopg2>=2.3
  django18: Django>=1.8,<1.9
  django18: pytest-django>=3.1
  django19: Django>=1.9,<1.10
  django19: pytest-django>=3.1
  django110: Django>=1.10,<1.11
  django110: pytest-django>=3.1
  django111: Django>=1.11,<1.12
  django111: pytest-django>=3.1
setenv =
  sqlite: DB=sqlite
  postgres: DB=postgres
Test also with django 1.11.
travis: Test also with django 1.11.
