[postgis-tickets] r15787 - fix so can regress (note that 9.2 is the last version we support on 2.0) so that's the one I'm testing.

Regina Obe lr at pcorp.us
Thu Sep 21 14:45:16 PDT 2017


Author: robe
Date: 2017-09-21 14:45:16 -0700 (Thu, 21 Sep 2017)
New Revision: 15787

Modified:
   branches/2.0/.travis.yml
Log:
fix so can regress (note that 9.2 is the last version we support on 2.0) so that's the one I'm testing.

Modified: branches/2.0/.travis.yml
===================================================================
--- branches/2.0/.travis.yml	2017-09-21 18:34:27 UTC (rev 15786)
+++ branches/2.0/.travis.yml	2017-09-21 21:45:16 UTC (rev 15787)
@@ -1,19 +1,30 @@
 ---
 env:
   global:
-    - PGUSER=postgres
     - RUNTESTFLAGS=-v
+addons:
+  postgresql: "9.2"
+  
 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.2 postgresql-server-dev-9.2
+      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 {} \;
+  - sudo make install
+  - make check RUNTESTFLAGS=-v
 notifications:
   email: false
   irc:



More information about the postgis-tickets mailing list