language: python

python:
  - 2.7

env:
  - DJANGO=1.5.12 MIGRATE='true'
  - DJANGO=1.6.10 MIGRATE='true'
  - DJANGO=1.7.4 MIGRATE='./manage.py migrate'

branches:
  only:
    - master

install:
  - pip install -q Django==$DJANGO
  - pip install -r examples/chatserver/tests/requirements.txt
  - python setup.py -q install

services:
  - redis-server

before_script:
  - pip freeze

script:
  - cd examples && $MIGRATE && ./manage.py test chatserver --settings=chatserver.tests.settings

language: python

python:
  - 2.7

env:
  - DJANGO=1.5.12 MIGRATE='true'
  - DJANGO=1.6.11 MIGRATE='true'
  - DJANGO=1.7.7 MIGRATE='./manage.py migrate'

branches:
  only:
    - master

install:
  - pip install -q Django==$DJANGO
  - pip install -r examples/chatserver/tests/requirements.txt
  - python setup.py -q install

services:
  - redis-server

before_script:
  - pip freeze

script:
  - cd examples && $MIGRATE && ./manage.py test chatserver --settings=chatserver.tests.settings

Use Django-1.7.7 for unit testing
Use Django-1.7.7 for unit testing
