[postgis-tickets] r15784 - This one tested on github and works.

Regina Obe lr at pcorp.us
Wed Sep 20 23:07:50 PDT 2017


Author: robe
Date: 2017-09-20 23:07:50 -0700 (Wed, 20 Sep 2017)
New Revision: 15784

Modified:
   branches/2.1/.travis.yml
Log:
This one tested on github and works.
try to get travis to regress by fixing permission issues.
This one tested on github and works.
References #3856 for PostGIS 2.1


Modified: branches/2.1/.travis.yml
===================================================================
--- branches/2.1/.travis.yml	2017-09-21 02:07:11 UTC (rev 15783)
+++ branches/2.1/.travis.yml	2017-09-21 06:07:50 UTC (rev 15784)
@@ -2,24 +2,29 @@
 env:
   global:
     - RUNTESTFLAGS=-v
+addons:
+  postgresql: "9.4"
+  
 before_install:
-  - rm .travis.yml
-  - sudo apt-get update
-  - apt-cache search libgdal
-  - sudo apt-get install -q build-essential flex autoconf libtool gfortran postgresql-server-dev-9.1 xsltproc libjson0-dev libproj-dev dblatex xsltproc libcunit1-dev libcunit1 docbook-xsl docbook-mathml libgdal-dev libgeos-dev
-  - git config --global user.name "PostGIS Travis CI"
-  - git config --global user.email $HOSTNAME":not-for-mail at travis-ci.org"
+  - sudo apt-get update -qq
+  - sudo apt-get install -y
+      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
+  - dpkg -l | grep postgresql
   - ./autogen.sh
 language: c
+
 compiler:
   - gcc
+  
 script:
   - ./configure
   - make
   - find /home/travis -type d -exec chmod 755 {} \;
-  - make check
   - sudo make install
-  - make check RUNTESTFLAGS=--extensions
+  - make check RUNTESTFLAGS=-v
 notifications:
   email: false
   irc:



More information about the postgis-tickets mailing list