language: python
python:
  - "2.7"
  - "3.4"

# Handle git submodules yourself
git:
    submodules: false

install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq gdal-bin libgdal-dev libgdal1h libgdal1-dev libgeos-dev
  - "pip install ."
  - "pip install GDAL==1.10.0 --global-option=build_ext --global-option=\"-I/usr/include/gdal\""

script: "python tests/__init__.py"

language: python
python:
  - "2.7"
  - "3.4"

# Handle git submodules yourself
git:
    submodules: false

# Use system wide packages, needed for gdal
virtualenv:
  system_site_packages: true

install:
  - sudo apt-get update -qq
  - sudo apt-get install python-gdal python3-gdal
  - "pip install ."

script: "python tests/__init__.py"

Make Travis install python-gdal and python3-gdal in system wide packages and use them for the tests.
Make Travis install python-gdal and python3-gdal in system wide packages and use them for the tests.
