language: python
python:
  - "2.6"
  - "2.7"
services: mysql
install:
  - pip install -r requirements/dev.txt --use-mirrors
script: python manage.py test --noinput

language: python
python:
  - "2.6"
  - "2.7"
services: mysql
install:
  - pip install -r requirements/dev.txt --use-mirrors
before_script:
  - mysql -e 'create database captain;'
script: python manage.py test --noinput

Create database before running tests.
Create database before running tests.