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

addons:
  apt:
    sources:
    - sourceline: 'ppa:ubuntugis/ubuntugis-unstable'
    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

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

Use own ppa with gdal 2.2 for python gdal
Use own ppa with gdal 2.2 for python gdal
