language: python
python:
  - "2.7"
  - "3.3"
  - "3.4"
env:
  - DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.8.x.zip
  - DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.7.x.zip
  - DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.6.x.zip
matrix:
  include:
    - python: "2.6"
      env: DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.4.x.zip
    - python: "2.7"
      env: DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.4.x.zip
install:
  - pip install -q $DJANGO_PACKAGE --use-mirrors
  - pip install --use-mirrors .
script:
  - python setup.py test

language: python
python:
  - "2.7"
  - "3.3"
  - "3.4"
env:
  - DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.8.x.tar.gz
  - DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.7.x.zip
  - DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.6.x.zip
matrix:
  include:
    - python: "2.6"
      env: DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.4.x.zip
    - python: "2.7"
      env: DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.4.x.zip
install:
  - pip install -q $DJANGO_PACKAGE --use-mirrors
  - pip install --use-mirrors .
script:
  - python setup.py test

Use .tar.gz instead of .zip to work around pip bug
Use .tar.gz instead of .zip to work around pip bug

This works around https://github.com/pypa/pip/issues/1698, where pip
fails to install the zip with unicode filenames on Python 2.
