language: python
python:
  - "2.7"
  - "3.5"
  - "3.6"
# - "nightly"

script: pytest

before_install:
  - export CPPFLAGS=`gdal-config --cflags`
  - export LDFLAGS=`gdal-config --libs`
  - export PROJ_LIB=/usr/share/proj

install:
  - apt-get build-dep rasterio
  - pip install -r dev-requirements.txt
  - pip install .

addons:
  apt:
    sources:
    - sourceline: 'ppa:ubuntugis/ubuntugis-unstable'
    - sourceline: 'ppa:johanvdw/gdal'
    packages:
      - libgdal-dev
      - gdal-bin

language: python
python:
  - "2.7"
  - "3.5"
  - "3.6"
# - "nightly"

script: pytest

before_install:
  - export CPPFLAGS=`gdal-config --cflags`
  - export LDFLAGS=`gdal-config --libs`
  - export PROJ_LIB=/usr/share/proj

install:
  - sudo apt-get build-dep rasterio
  - pip install -r dev-requirements.txt
  - pip install .

addons:
  apt:
    sources:
    - sourceline: 'ppa:ubuntugis/ubuntugis-unstable'
    - sourceline: 'ppa:johanvdw/gdal'
    packages:
      - libgdal-dev
      - gdal-bin

Install rasterio build-dependencies as superuser
Install rasterio build-dependencies as superuser
