forked from geopandas/geopandas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
67 lines (55 loc) · 1.76 KB
/
.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
language: python
sudo: false
cache: pip
addons:
apt:
packages:
- libgdal1h
- gdal-bin
- libgdal-dev
- libspatialindex-dev
matrix:
include:
# Only one test for these Python versions
- python: 3.4
env: PANDAS=0.18.1 MATPLOTLIB=1.4.3 SHAPELY=1.5.17
- python: 3.5
env: PANDAS=0.19.2 MATPLOTLIB=1.5.3
# Python 2.7 and 3.6 test all supported Pandas versions
- python: 2.7
env: PANDAS=0.16.2 MATPLOTLIB=1.4.3 SHAPELY=1.5.17
- python: 2.7
env: PANDAS=0.17.1 MATPLOTLIB=1.4.3 SHAPELY=1.5.17
- python: 2.7
env: PANDAS=0.18.1 MATPLOTLIB=1.5.3
- python: 2.7
env: PANDAS=0.19.2 MATPLOTLIB=1.5.3
- python: 2.7
env: PANDAS=0.20.2 MATPLOTLIB=2.0.2
- python: 2.7
env: PANDAS=master MATPLOTLIB=2.1.2
- python: 3.6
env: PANDAS=0.16.2 MATPLOTLIB=1.4.3 SHAPELY=1.5.17
- python: 3.6
env: PANDAS=0.17.1 MATPLOTLIB=1.4.3 SHAPELY=1.5.17
- python: 3.6
env: PANDAS=0.18.1 MATPLOTLIB=1.5.3
- python: 3.6
env: PANDAS=0.19.2 MATPLOTLIB=1.5.3
- python: 3.6
env: PANDAS=0.20.2 MATPLOTLIB=2.0.2
- python: 3.6
env: PANDAS=master MATPLOTLIB=master
before_install:
- pip install -U pip
install:
- pip install numpy
- if [[ $MATPLOTLIB == 'master' ]]; then pip install git+https://github.com/matplotlib/matplotlib.git; else pip install matplotlib==$MATPLOTLIB; fi
- if [ -n "$SHAPELY" ]; then pip install shapely==$SHAPELY; fi
- pip install -r requirements.txt
- pip install -r requirements.test.txt
- if [[ $PANDAS == 'master' ]]; then pip install git+https://github.com/pydata/pandas.git; else pip install pandas==$PANDAS; fi
script:
- py.test geopandas --cov geopandas -v --cov-report term-missing
after_success:
- codecov