language: python
python:
  - "2.6"
  - "2.7"
env:
  - DJANGO='https://github.com/django/django/tarball/stable/1.5.x' DB='postgres'
  - DJANGO='https://github.com/django/django/tarball/stable/1.5.x' DB='sqlite'
  - DJANGO='django>=1.4,<1.5' DB='postgres'
  - DJANGO='django>=1.4,<1.5' DB='sqlite'
before_install:
  - export PIP_USE_MIRRORS=true
install:
  - pip install psycopg2
  - pip install $DJANGO
  - pip install flake8
  - pip install -e .
before_script:
  - export DJANGO_SETTINGS_MODULE=timezone_field.test_settings
  - psql -c 'create database timezone_field_test;' -U postgres
  - flake8 .
script:
  - django-admin.py test timezone_field

language: python
python:
  - 2.6
  - 2.7
  - 3.2
env:
  - DJANGO='https://github.com/django/django/tarball/stable/1.5.x' DB='postgres'
  - DJANGO='https://github.com/django/django/tarball/stable/1.5.x' DB='sqlite'
  - DJANGO='django>=1.4,<1.5' DB='postgres'
  - DJANGO='django>=1.4,<1.5' DB='sqlite'
matrix:
  exclude: # python 3 support only for django>=1.5
    - python: 3.2
      env: DJANGO='django>=1.4,<1.5' DB='postgres'
    - python: 3.2
      env: DJANGO='django>=1.4,<1.5' DB='sqlite'
before_install:
  - export PIP_USE_MIRRORS=true
install:
  - pip install psycopg2
  - pip install $DJANGO
  - pip install flake8
  - pip install -e .
before_script:
  - export DJANGO_SETTINGS_MODULE=timezone_field.test_settings
  - psql -c 'create database timezone_field_test;' -U postgres
  - flake8 .
script:
  - django-admin.py test timezone_field

Test python3.2 with django 1.5
Test python3.2 with django 1.5
