language: python
python:
  - "2.6"
  - "2.7"
script: ./runtests.py

language: python
python:
  - "2.6"
  - "2.7"
env:
  - DJANGO=1.4.3 DB=sqlite
  - DJANGO=1.4.3 DB=mysql
  - DJANGO=1.4.3 DB=postgres
before_script:
  - mysql -e 'create database aggregation;'
  - psql -c 'create database aggregation;' -U postgres
install:
  - pip install mysql-python
  - pip install psycopg2
  - pip install -q Django==$DJANGO --use-mirrors
script:
  - ./runtests.py -d $DB

Configure Travis to test multiple database backends.
Configure Travis to test multiple database backends.