sudo: required
dist: trusty
language: python

python:
  - 2.7

env:
  global:
    - CPLUS_INCLUDE_PATH=/usr/include/gdal
    - C_INCLUDE_PATH=/usr/include/gdal

install:
 - sudo apt-get update
 - sudo apt-get install -y libgdal1-dev libproj-dev libgeos-dev libspatialite-dev
 - pip install -U setuptools
 - pip install git+git://github.com/tinio/pysqlite.git@extension-enabled#egg=pysqlite

   # This is a dependency of our Django quicktest script
 - pip install argparse

 - pip install gdal==1.9.1
 - pip install html5lib==0.999
 - pip install -r requirements.txt

 - pip install coverage

 - pip install flake8

 - python setup.py develop

before_script:
 - flake8 --ignore=E501 mapentity
 - pip freeze

script:
 - python quicktest.py mapentity
 - coverage run --include="mapentity/*" quicktest.py mapentity

after_success:
 - pip install coveralls
 - coveralls

sudo: required
dist: trusty
language: python

python:
 - 2.7

env:
  global:
   - CPLUS_INCLUDE_PATH=/usr/include/gdal
   - C_INCLUDE_PATH=/usr/include/gdal
  matrix:
   - DJANGO_VERSION=1.6.11
   - DJANGO_VERSION=1.7.11
   - DJANGO_VERSION=1.8.14
   - DJANGO_VERSION=1.9.9
   - DJANGO_VERSION=1.10.1

install:
 - sudo apt-get update
 - sudo apt-get install -y libgdal1-dev libproj-dev libgeos-dev libspatialite-dev
 - pip install -U setuptools
 - pip install git+git://github.com/tinio/pysqlite.git@extension-enabled#egg=pysqlite

   # This is a dependency of our Django quicktest script
 - pip install argparse

 - pip install gdal==1.9.1
 - pip install html5lib==0.999
 - pip install -r requirements.txt

 - pip install coverage

 - pip install flake8

 - python setup.py develop

before_script:
 - flake8 --ignore=E501 mapentity
 - pip freeze

script:
 - python quicktest.py mapentity
 - coverage run --include="mapentity/*" quicktest.py mapentity

after_success:
 - pip install coveralls
 - coveralls

Test multiple versions of django
Test multiple versions of django
