[postgis-tickets] r14402 - Use PostgreSQL-9.1 for gitlab-ci build

Sandro Santilli strk at keybit.net
Wed Nov 18 12:50:17 PST 2015


Author: strk
Date: 2015-11-18 12:50:17 -0800 (Wed, 18 Nov 2015)
New Revision: 14402

Modified:
   branches/2.0/.gitlab-ci.yml
Log:
Use PostgreSQL-9.1 for gitlab-ci build

Install from apt.postgresql.org

Modified: branches/2.0/.gitlab-ci.yml
===================================================================
--- branches/2.0/.gitlab-ci.yml	2015-11-18 14:50:31 UTC (rev 14401)
+++ branches/2.0/.gitlab-ci.yml	2015-11-18 20:50:17 UTC (rev 14402)
@@ -3,12 +3,16 @@
     - apt-get update -qq
     - apt-get install -y
         flex bison
-        postgresql-9.4 postgresql-server-dev-9.4
         build-essential autoconf libtool libcunit1-dev
         xsltproc docbook-xsl docbook-mathml dblatex
         libproj-dev libgdal-dev libgeos-dev libjson0-dev
     - lsb_release -a
     - uname -a
+    - echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list
+    - wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
+    - apt-get update -qq
+    - apt-get install -y
+        postgresql-9.1 postgresql-server-dev-9.1
     - service postgresql start
     - su -l postgres -c "createuser -s `whoami`"
     - ./autogen.sh



More information about the postgis-tickets mailing list