language: python
env:
  matrix:
    - DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.6.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.8.x.zip
install:
  - sudo apt-get install swig
  - pip install --upgrade pip
  - pip install -q $DJANGO_PACKAGE 
  - pip install -e .
  - pip install -r ./testproj/requirements.txt
  - pip freeze
script: ./testproj/manage.py test testproj

language: python
env:
  matrix:
    - DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.6.x.tar.gz
    - DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.7.x.tar.gz
    - DJANGO_PACKAGE=https://github.com/django/django/archive/stable/1.8.x.tar.gz
install:
  - sudo apt-get install swig
  - pip install --upgrade pip
  - pip install -q $DJANGO_PACKAGE 
  - pip install -e .
  - pip install -r ./testproj/requirements.txt
  - pip freeze
script: ./testproj/manage.py test testproj

Install django from tars instead of zips
Install django from tars instead of zips

To workaround https://github.com/pypa/pip/pull/1473
