language: python
python:
  - "2.7"
  - "3.3"
# command to install dependencies
install: "pip install -r dev-requirements.txt"
# command to run tests
script: python runtests.py

language: python
python:
  - "2.7"
  - "3.3"
# command to install dependencies
install: "pip install -r dev-requirements.txt"
# command to run tests
script: python runtests.py --db $DB
# handle multiple databases in build matrix
env:
  - DB=sqlite
  - DB=postgres
services:
  - postgresql
before_script:
  - python manage.py -c test db create

Test with multiple databases on Travis
Test with multiple databases on Travis
