language: python
python:
  - "2.6"
  - "2.7"
env:
  - DJANGO_DEP="Django>=1.6.0,<1.7.0" DATABASE="sqlite3"
  - DJANGO_DEP="Django>=1.6.0,<1.7.0" DATABASE="postgresql"
  - DJANGO_DEP="Django>=1.7.0,<1.8.0" DATABASE="sqlite3"
  - DJANGO_DEP="Django>=1.7.0,<1.8.0" DATABASE="postgresql"
install:
  - pip install --use-mirrors $DJANGO_DEP
  - pip install -r dev-requirements.txt --use-mirrors
before_script:
  - psql -c 'CREATE DATABASE djts;' -U postgres
script: make test
notifications:
  email: false

language: python
python:
  - "2.6"
  - "2.7"
env:
  - DJANGO_DEP="Django>=1.6.0,<1.7.0" DATABASE="sqlite3"
  - DJANGO_DEP="Django>=1.6.0,<1.7.0" DATABASE="postgresql"
  - DJANGO_DEP="Django>=1.7.0,<1.8.0" DATABASE="sqlite3"
  - DJANGO_DEP="Django>=1.7.0,<1.8.0" DATABASE="postgresql"
install:
  - if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install --use-mirrors importlib; fi
  - pip install --use-mirrors $DJANGO_DEP
  - pip install -r dev-requirements.txt --use-mirrors
before_script:
  - psql -c 'CREATE DATABASE djts;' -U postgres
script: make test
notifications:
  email: false

Install importlib for testing in Python 2.6 until django-nose gets fixed.
Install importlib for testing in Python 2.6 until django-nose gets fixed.
