language: python

python:
  - "2.7"

# command to install dependencies
install:
  - pip install -r requirements.pip --use-mirrors
  - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm

before_script:
  - psql -c 'create database edtrac;' -U postgres
  - git submodule init
  - git submodule update

# command to run tests
script:
  - cd edtrac_project
  - python manage.py syncdb --noinput
  - python manage.py migrate
  - python manage.py test education.test

language: python

python:
  - "2.7"

# command to install dependencies
install:
  - pip install -r requirements.pip --use-mirrors
  - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm

env:
  - DJANGO_SETTINGS_MODULE=settings.travis

before_script:
  - psql -c 'create database edtrac;' -U postgres
  - git submodule init
  - git submodule update

# command to run tests
script:
  - cd edtrac_project
  - python manage.py syncdb --noinput
  - python manage.py migrate
  - python manage.py test education.test

Revert "Don't set the settings file in Travis to try and prove that environment variable is ignored anyway."
Revert "Don't set the settings file in Travis to try and prove that environment variable is ignored anyway."

Seems removing the setting does cause the build to break.

This reverts commit 300b38efa7c03ad4f71219f119b36e55a6d4c540.
