forked from Getty/travis-build-geos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
23 lines (23 loc) · 890 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
---
env:
matrix:
- GEOS_VERSION=3.4.2
- GEOS_VERSION=3.3.8
- GEOS_VERSION=3.2.3
before_install:
- rm .travis.yml
- sudo apt-get update
- sudo apt-get install -qq sendfile build-essential flex autoconf libtool gfortran xsltproc libproj-dev dblatex
- git config --global user.name "Build package TravisCI"
- git config --global user.email $HOSTNAME":[email protected]"
language: c
compiler:
- gcc
script:
- export LSB_INFO=$( lsb_release -rs )_$( lsb_release -ms )
- wget -q http://download.osgeo.org/geos/geos-$GEOS_VERSION.tar.bz2
- tar xvjf geos-$GEOS_VERSION.tar.bz2
- ( cd geos-$GEOS_VERSION && ./configure --prefix=/home/travis/geos-$GEOS_VERSION && make && make install )
- ldconfig
- tar cvzf geos-$GEOS_VERSION.travis.$LSB_INFO.tar.gz /home/travis/geos-$GEOS_VERSION
#- sendfile geos-$GEOS_VERSION.travis.$LSB_INFO.tar.gz [email protected]