language: python
matrix:
  exclude:
    - python: "3.3"
      env: DJANGO=1.4.2
    - python: "3.2"
      env: DJANGO=1.4.2
python:
  - "2.6"
  - "2.7"
  - "3.3"
  - "3.2"
env:
  - DJANGO=1.4.2
  - DJANGO=1.5
install:
  - pip install -q Django==$DJANGO --use-mirrors
  - pip install pep8 --use-mirrors
  - pip install https://github.com/dcramer/pyflakes/tarball/master
  - python setup.py install
before_script:
  - "pep8 --ignore=E124,E128 --exclude=tests,migrations cities_light"
  - mysql -e 'create database cities_light_test;'
  - psql -c 'create database cities_light_test;' -U postgres
script:
  - python setup.py test
  - bash test.sh

language: python
matrix:
  exclude:
    - python: "3.3"
      env: DJANGO=1.4.2
python:
  - "2.7"
  - "3.3"
env:
  - DJANGO=1.4.2
  - DJANGO=1.5
install:
  - pip install -q Django==$DJANGO --use-mirrors
  - pip install pep8 --use-mirrors
  - pip install https://github.com/dcramer/pyflakes/tarball/master
  - python setup.py install
before_script:
  - "pep8 --ignore=E124,E128 --exclude=tests,migrations cities_light"
  - mysql -e 'create database cities_light_test;'
  - psql -c 'create database cities_light_test;' -U postgres
script:
  - python setup.py test
  - bash test.sh

Remove python 2.6 and 3.2 because we run the command that takes a lot of time
Remove python 2.6 and 3.2 because we run the command that takes a lot of time
