language: python

python:
  - 2.6
  - 2.7
  - 3.2
  - 3.3
  - 3.4

env:
  - PANDAS_VERSION=v0.13.1
  - PANDAS_VERSION=v0.14.1
  - PANDAS_VERSION=master

matrix:
  exclude:
    - python: 2.6
      env: PANDAS_VERSION=master
    - python: 3.2
      env: PANDAS_VERSION=master

before_install:
  - sudo add-apt-repository -y ppa:ubuntugis/ppa
  - sudo apt-get update
  - sudo apt-get install libgdal1h gdal-bin libgdal-dev libspatialindex-dev libspatialindex1
#  - sudo -u postgres psql -c "drop database if exists test_geopandas"
#  - sudo -u postgres psql -c "create database test_geopandas"
#  - sudo -u postgres psql -c "create extension postgis" -d test_geopandas

install:
  - pip install -r requirements.txt --use-mirrors
  - pip install -r requirements.test.txt --use-mirrors
  - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install -r .requirements-2.6.txt --use-mirrors; fi
  - git clone git://github.com/pydata/pandas.git
  - cd pandas
  - git checkout $PANDAS_VERSION
  - python setup.py install
  - cd ..

script:
  - py.test tests --cov geopandas -v --cov-report term-missing

after_success:
  - coveralls

language: python

python:
  - 2.6
  - 2.7
  - 3.2
  - 3.3
  - 3.4

env:
  - PANDAS_VERSION=v0.13.1
  - PANDAS_VERSION=v0.14.1
  - PANDAS_VERSION=master

before_install:
  - sudo add-apt-repository -y ppa:ubuntugis/ppa
  - sudo apt-get update
  - sudo apt-get install libgdal1h gdal-bin libgdal-dev libspatialindex-dev libspatialindex1
#  - sudo -u postgres psql -c "drop database if exists test_geopandas"
#  - sudo -u postgres psql -c "create database test_geopandas"
#  - sudo -u postgres psql -c "create extension postgis" -d test_geopandas

install:
  - pip install -r requirements.txt --use-mirrors
  - pip install -r requirements.test.txt --use-mirrors
  - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install -r .requirements-2.6.txt --use-mirrors; fi
  - git clone git://github.com/pydata/pandas.git
  - cd pandas
  - git checkout $PANDAS_VERSION
  - python setup.py install
  - cd ..

script:
  - py.test tests --cov geopandas -v --cov-report term-missing

after_success:
  - coveralls

Revert "TST: Disable pandas master tests..."
Revert "TST: Disable pandas master tests..."

This reverts commit 95d2e20fe59af0ace72c3ab2faef1e0157a4735e.
