[postgis-tickets] r16349 - [drone] Use trisquel2 image, test all pgsql versions and upgrades
Sandro Santilli
strk at kbt.io
Mon Jan 22 03:14:55 PST 2018
Author: strk
Date: 2018-01-22 03:14:54 -0800 (Mon, 22 Jan 2018)
New Revision: 16349
Modified:
trunk/.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 taking a step in the GEOS upgrade direction for Dronie
Modified: trunk/.drone.yml
===================================================================
--- trunk/.drone.yml 2018-01-22 09:55:45 UTC (rev 16348)
+++ trunk/.drone.yml 2018-01-22 11:14:54 UTC (rev 16349)
@@ -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
+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 -fno-omit-frame-pointer -Werror" --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