Commit bdd6ff5d authored by Sandro Santilli's avatar Sandro Santilli

[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

git-svn-id: http://svn.osgeo.org/postgis/trunk@16349 b70326c6-7e19-0410-871a-916f4a2858ee
parent e7e9e82c
Pipeline #16451407 passed with stage
in 13 minutes and 31 seconds
# 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:
......@@ -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 -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment