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

[testenv]
commands =
    postgres: psql -c 'create database bitfield;' -U postgres;
    py.test
passenv = DB
deps =
  pytest
  psycopg2>=2.3
  django14: Django>=1.4.22,<1.5
  django14: pytest-django==2.9.1
  django15: Django>=1.5,<1.6
  django15: pytest-django==2.9.1
  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 =
    py27-django{14,15}-{sqlite,postgres}, py{27,34,35}-django{18,18,110}-{sqlite,postgres}

[testenv]
commands =
    py.test
passenv = DB
deps =
  pytest
  psycopg2>=2.3
  django14: Django>=1.4.22,<1.5
  django14: pytest-django==2.9.1
  django15: Django>=1.5,<1.6
  django15: pytest-django==2.9.1
  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
Remove Postgres create DB pre_test command
Remove Postgres create DB pre_test command
