forked from postgis/postgis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
55 lines (47 loc) · 1.21 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
env:
global:
- RUNTESTFLAGS=-v
addons:
postgresql: "9.6"
before_install:
- sudo add-apt-repository --yes ppa:ubuntugis/ppa
- sudo add-apt-repository --yes ppa:ubuntugis/ubuntugis-unstable
- sudo apt-get update -qq
- sudo apt-get install -y --no-install-recommends
postgresql-9.6 postgresql-server-dev-9.6 libxml2-utils
libcunit1-dev xsltproc docbook-xsl docbook-mathml dblatex
libgdal-dev libgeos-dev libjson0-dev
libsfcgal1 libsfcgal-dev libprotobuf-c0-dev libgdal-dev
- dpkg -l | grep postgresql
- wget http://download.osgeo.org/proj/proj-4.9.2.tar.gz
- tar zxvf proj-4.9.2.tar.gz
- cd proj-4.9.2
- ./configure --prefix=/usr
- make
- sudo make install
- cd ..
- rm -rf proj-4.9.2
- rm proj-4.9.2.tar.gz
- sudo ldconfig
- ./autogen.sh
language: c
compiler: gcc
dist: trusty
cache: ccache
script:
- ./configure
- make
- chmod 755 /home/travis
- make check
- make check RUNTESTFLAGS='--dumprestore'
- sudo make install
- make installcheck
- make installcheck RUNTESTFLAGS='--dumprestore'
notifications:
email: false
irc:
channels:
- "irc.freenode.org#postgis-activity"
on_success: change
on_failure: always
use_notice: false