]> granicus.if.org Git - postgis/commitdiff
Attempt to add postgis docker hub image as an additional pipeline. Change badge...
authorRegina Obe <lr@pcorp.us>
Tue, 15 Jan 2019 21:31:12 +0000 (21:31 +0000)
committerRegina Obe <lr@pcorp.us>
Tue, 15 Jan 2019 21:31:12 +0000 (21:31 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@17153 b70326c6-7e19-0410-871a-916f4a2858ee

.drone-1.0.yml
README.md

index 2a434d62e8a030b438b06f8c2282b4d0a4a45eb6..6d8464e91c035f1ee5abdb12ce18def144bfd14b 100644 (file)
@@ -53,6 +53,30 @@ steps:
 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
index 689421168f8e42c53ec4c1c103ddf4942e8c2908..22055153d26f870fe6ded4ce5adf61c187bec39f 100644 (file)
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@ Debbie:
 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: