[postgis-tickets] r16353 - [drone] Use trisquel2 image, test all pgsql versions and upgrades
Sandro Santilli
strk at kbt.io
Mon Jan 22 04:35:12 PST 2018
Author: strk
Date: 2018-01-22 04:35:11 -0800 (Mon, 22 Jan 2018)
New Revision: 16353
Modified:
branches/2.4/.drone.yml
Log:
[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
Modified: branches/2.4/.drone.yml
===================================================================
--- branches/2.4/.drone.yml 2018-01-22 11:33:27 UTC (rev 16352)
+++ branches/2.4/.drone.yml 2018-01-22 12:35:11 UTC (rev 16353)
@@ -1,8 +1,16 @@
# 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:
image: plugins/git
@@ -12,13 +20,15 @@
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
More information about the postgis-tickets
mailing list