From: Sandro Santilli Date: Mon, 22 Jan 2018 12:35:11 +0000 (+0000) Subject: [drone] Use trisquel2 image, test all pgsql versions and upgrades X-Git-Tag: 2.4.4~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d61e1558f0e7f2d845a56561a5804c7648cde850;p=postgis [drone] Use trisquel2 image, test all pgsql versions and upgrades The new docker image also uses newer GEOS (3.6.2). References #3813 for 2.4 branch NOTE: could not use -Werror in this branch as it would fail git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@16353 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/.drone.yml b/.drone.yml index 3dfef9a24..62a16d7ff 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,7 +1,15 @@ # See http://readme.drone.io/0.5/usage/overview -# See https://git.osgeo.org/gogs/postgis/postgis-docker -test-image: &test-image docker.kbt.io/postgis/build-test:trisquel +# See https://git.osgeo.org/gitea/postgis/postgis-docker +test-image: &test-image docker.kbt.io/postgis/build-test:trisquel2 + +matrix: + PGVER: + - 9.3 + - 9.4 + - 9.5 + - 9.6 + - 10 pipeline: clone: @@ -12,13 +20,15 @@ pipeline: image: *test-image pull: true commands: + - service postgresql start $PGVER + - export PGPORT=`grep ^port /etc/postgresql/$PGVER/main/postgresql.conf | awk '{print $3}'` + - export PATH=/usr/lib/postgresql/$PGVER/bin:$PATH + - psql --version - ./autogen.sh - - ./configure CFLAGS="-O0 -Wall" --without-interrupt-tests + - ./configure CFLAGS="-O0 -Wall -fno-omit-frame-pointer" --without-interrupt-tests - make - check: - image: *test-image - commands: - - service postgresql start + # we should maybe wait for postgresql service to startup here... + - psql -c "select version()" template1 - make check RUNTESTFLAGS=-v - make install - utils/check_all_upgrades.sh