]> granicus.if.org Git - postgis/commitdiff
travis yaml script for testing many thanks to Getty (Torsten Raudssus)
authorRegina Obe <lr@pcorp.us>
Wed, 4 Sep 2013 16:39:10 +0000 (16:39 +0000)
committerRegina Obe <lr@pcorp.us>
Wed, 4 Sep 2013 16:39:10 +0000 (16:39 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@11914 b70326c6-7e19-0410-871a-916f4a2858ee

.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..5448f14
--- /dev/null
@@ -0,0 +1,38 @@
+---\r
+env:\r
+  global:\r
+    - PGUSER=postgres\r
+  matrix:\r
+    #- GEOS_VERSION=3.4.1 \r
+    #- GEOS_VERSION=3.3.8\r
+    #- GDAL_VERSION=1.10.0\r
+before_install:\r
+  - rm .travis.yml\r
+  - sudo apt-add-repository -y ppa:ubuntugis/ubuntugis-unstable\r
+  - sudo apt-get update\r
+  - sudo apt-get install -qq build-essential flex autoconf libtool gfortran postgresql-server-dev-all xsltproc libjson0-dev libproj-dev dblatex xsltproc libcunit1-dev libcunit1 docbook-xsl docbook-mathml libgdal-dev libgeos-dev\r
+  - git config --global user.name "PostGIS Travis CI"\r
+  - git config --global user.email $HOSTNAME":not-for-mail@travis-ci.org"\r
+install:\r
+  - export LSB_RELEASE=$( lsb_release -rs )\r
+  #- wget -q http://stardestroyer.de/travis/geos-$GEOS_VERSION.travis.$LSB_RELEASE.tar.gz\r
+  #- tar xvzf geos-$GEOS_VERSION.travis.$LSB_RELEASE.tar.gz -C / \r
+  #- sudo ln -s /home/travis/geos-$GEOS_VERSION/lib/libgeos_c.so.1.8.0 /usr/lib/libgeos_c.so.1\r
+  #- wget -q http://stardestroyer.de/travis/gdal-$GDAL_VERSION.travis.$LSB_RELEASE.tar.gz\r
+  #- tar xvzf gdal-$GDAL_VERSION.travis.$LSB_RELEASE.tar.gz -C / \r
+  #- LD_LIBRARY_PATH="/home/travis/geos-$GEOS_VERSION/lib:/home/travis/gdal-$GDAL_VERSION/lib"\r
+  #- LD_RUN_PATH="/home/travis/geos-$GEOS_VERSION/lib:/home/travis/gdal-$GDAL_VERSION/lib"\r
+  - ./autogen.sh\r
+  # - ./configure --with-geosconfig=/home/travis/geos-$GEOS_VERSION/bin/geos-config --with-gdalconfig=/home/travis/gdal-$GDAL_VERSION/bin/gdal-config\r
+  - ./configure\r
+language: c\r
+compiler:\r
+  - gcc\r
+notifications:\r
+  email: false\r
+script:\r
+  - make\r
+  #- make check RUNTESTFLAGS=-v\r
+  - make check\r
+after_failure:\r
+  - cat /tmp/pgis_reg/*\r