test-image: &test-image docker.kbt.io/postgis/build-test:trisquel2
kind: pipeline
name: pg-10
+steps:
+ - name: build
+ image: *test-image
+ pull: true
+ commands:
+ - export PGVER=10
+ - 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 -j
+ # 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
+ `grep '^POSTGIS_' Version.config | cut -d= -f2 | paste -sd '.'`
+
+---
+test-image: &test-image postgis/postgis-build-env:latest
+kind: pipeline
+name: pg-11-latest
steps:
- name: build
image: *test-image
Winnie:
[![Build Status](https://winnie.postgis.net:444/buildStatus/icon?job=PostGIS_trunk)](https://winnie.postgis.net:444/view/PostGIS/job/PostGIS_trunk/)
Dronie:
- [![Build Status](https://drone.osgeo.org/api/badges/postgis/postgis/status.svg?branch=svn-trunk)](https://drone.osgeo.org/postgis/postgis?branch=svn-trunk)
+ [![Build Status](https://dronie.osgeo.org/api/badges/postgis/postgis/status.svg?branch=svn-trunk)](https://dronie.osgeo.org/postgis/postgis?branch=svn-trunk)
Travis:
[![Build Status](https://secure.travis-ci.org/postgis/postgis.svg)](http://travis-ci.org/postgis/postgis)
GitLab-CI: