language: python
python:
  - "2.6"
  - "2.7"
env:
  - DJANGO_VERSION=1.6 DJANGO_DB_ENGINE=sqlite
  - DJANGO_VERSION=1.6 DJANGO_DB_ENGINE=postgres DJANGO_DB_NAME=testdb DJANGO_DB_USER=postgres
  - DJANGO_VERSION=1.6 DJANGO_DB_ENGINE=mysql DJANGO_DB_NAME=testdb DJANGO_DB_USER=travis
  - DJANGO_VERSION=1.7 DJANGO_DB_ENGINE=sqlite
  - DJANGO_VERSION=1.7 DJANGO_DB_ENGINE=postgres DJANGO_DB_NAME=testdb DJANGO_DB_USER=postgres
  - DJANGO_VERSION=1.7 DJANGO_DB_ENGINE=mysql DJANGO_DB_NAME=testdb DJANGO_DB_USER=travis
install:
  - "pip install -q Django==$DJANGO_VERSION MySQL-python psycopg2"
  - "pip install -q flake8 pylint pylint-django"
  - "pip install -e ."
before_script:
  - "mysql -e 'create database testdb;'"
  - "psql -c 'create database testdb;' -U postgres"
  - "./lint.sh"
script: "python setup.py test"

language: python
python:
  - "2.6"
  - "2.7"
env:
  - DJANGO_VERSION_CEILING=1.7 DJANGO_DB_ENGINE=sqlite
  - DJANGO_VERSION_CEILING=1.7 DJANGO_DB_ENGINE=postgres DJANGO_DB_NAME=testdb DJANGO_DB_USER=postgres
  - DJANGO_VERSION_CEILING=1.7 DJANGO_DB_ENGINE=mysql DJANGO_DB_NAME=testdb DJANGO_DB_USER=travis
  - DJANGO_VERSION_CEILING=1.8 DJANGO_DB_ENGINE=sqlite
  - DJANGO_VERSION_CEILING=1.8 DJANGO_DB_ENGINE=postgres DJANGO_DB_NAME=testdb DJANGO_DB_USER=postgres
  - DJANGO_VERSION_CEILING=1.8 DJANGO_DB_ENGINE=mysql DJANGO_DB_NAME=testdb DJANGO_DB_USER=travis
install:
  - pip install -q "Django<$DJANGO_VERSION_CEILING" MySQL-python psycopg2
  - "pip install -q flake8 pylint pylint-django"
  - "pip install -e ."
before_script:
  - "mysql -e 'create database testdb;'"
  - "psql -c 'create database testdb;' -U postgres"
  - "./lint.sh"
script: "python setup.py test"

Test against latest patch releases
Test against latest patch releases
