From: Regina Obe Date: Wed, 4 Sep 2013 16:39:10 +0000 (+0000) Subject: travis yaml script for testing many thanks to Getty (Torsten Raudssus) X-Git-Tag: 2.2.0rc1~1377 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dba0ae4ff4cd2a913ec895097065139545050681;p=postgis travis yaml script for testing many thanks to Getty (Torsten Raudssus) git-svn-id: http://svn.osgeo.org/postgis/trunk@11914 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..5448f14ca --- /dev/null +++ b/.travis.yml @@ -0,0 +1,38 @@ +--- +env: + global: + - PGUSER=postgres + matrix: + #- GEOS_VERSION=3.4.1 + #- GEOS_VERSION=3.3.8 + #- GDAL_VERSION=1.10.0 +before_install: + - rm .travis.yml + - sudo apt-add-repository -y ppa:ubuntugis/ubuntugis-unstable + - sudo apt-get update + - 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 + - git config --global user.name "PostGIS Travis CI" + - git config --global user.email $HOSTNAME":not-for-mail@travis-ci.org" +install: + - export LSB_RELEASE=$( lsb_release -rs ) + #- wget -q http://stardestroyer.de/travis/geos-$GEOS_VERSION.travis.$LSB_RELEASE.tar.gz + #- tar xvzf geos-$GEOS_VERSION.travis.$LSB_RELEASE.tar.gz -C / + #- sudo ln -s /home/travis/geos-$GEOS_VERSION/lib/libgeos_c.so.1.8.0 /usr/lib/libgeos_c.so.1 + #- wget -q http://stardestroyer.de/travis/gdal-$GDAL_VERSION.travis.$LSB_RELEASE.tar.gz + #- tar xvzf gdal-$GDAL_VERSION.travis.$LSB_RELEASE.tar.gz -C / + #- LD_LIBRARY_PATH="/home/travis/geos-$GEOS_VERSION/lib:/home/travis/gdal-$GDAL_VERSION/lib" + #- LD_RUN_PATH="/home/travis/geos-$GEOS_VERSION/lib:/home/travis/gdal-$GDAL_VERSION/lib" + - ./autogen.sh + # - ./configure --with-geosconfig=/home/travis/geos-$GEOS_VERSION/bin/geos-config --with-gdalconfig=/home/travis/gdal-$GDAL_VERSION/bin/gdal-config + - ./configure +language: c +compiler: + - gcc +notifications: + email: false +script: + - make + #- make check RUNTESTFLAGS=-v + - make check +after_failure: + - cat /tmp/pgis_reg/*