forked from geopandas/geopandas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (31 loc) · 1001 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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