language: python

python:
  - 2.7

install:
 - sudo apt-get install -y python-software-properties
 - sudo apt-add-repository -y ppa:git-core/ppa
 - sudo apt-add-repository -y ppa:ubuntugis/ppa
 - sudo apt-get update -qq
 - sudo apt-get install libgdal-dev

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

 - pip install -r requirements.txt

 - pip install coverage

 - pip install flake8 --use-mirrors

 - python setup.py develop

before_script:
 - flake8 --ignore=E501 mapentity

script:
 - python quicktest.py mapentity
 - coverage run quicktest.py mapentity

after_success:
 - pip install coveralls
 - coveralls

language: python

python:
  - 2.7

install:
 - sudo apt-get install -y python-software-properties
 - sudo apt-add-repository -y ppa:git-core/ppa
 - sudo apt-add-repository -y ppa:ubuntugis/ppa
 - sudo apt-get update -qq
 - sudo apt-get install libgdal-dev

 - pip install --no-install GDAL==1.9.1
 - pushd /home/travis/virtualenv/python2.7/build/GDAL
 - python setup.py build_ext --include-dirs=/usr/include/gdal
 - pip install --no-download GDAL
 - popd

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

 - pip install -r requirements.txt

 - pip install coverage

 - pip install flake8 --use-mirrors

 - python setup.py develop

before_script:
 - flake8 --ignore=E501 mapentity

script:
 - python quicktest.py mapentity
 - coverage run quicktest.py mapentity

after_success:
 - pip install coveralls
 - coveralls

Install GDAL using build options
Install GDAL using build options
