[postgis-tickets] r15687 - [drone] extract target upgrade version dynamically

Sandro Santilli strk at kbt.io
Mon Sep 11 09:39:47 PDT 2017


Author: strk
Date: 2017-09-11 09:39:46 -0700 (Mon, 11 Sep 2017)
New Revision: 15687

Modified:
   branches/2.2/.drone.yml
Log:
[drone] extract target upgrade version dynamically

also disable interrupt tests

Modified: branches/2.2/.drone.yml
===================================================================
--- branches/2.2/.drone.yml	2017-09-11 16:38:10 UTC (rev 15686)
+++ branches/2.2/.drone.yml	2017-09-11 16:39:46 UTC (rev 15687)
@@ -1,9 +1,5 @@
 # See http://readme.drone.io/0.5/usage/overview
 
-env:
-  global:
-    - RUNTESTFLAGS=-v
-
 # See https://git.osgeo.org/gogs/postgis/postgis-docker
 test-image: &test-image docker.kbt.io/postgis/build-test:trisquel
 
@@ -14,14 +10,16 @@
     recursive: false
   build:
     image: *test-image
+    pull: true
     commands:
       - ./autogen.sh
-      - ./configure CFLAGS="-O0 -Wall"
+      - ./configure CFLAGS="-O0 -Wall" --without-interrupt-tests
       - make
   check:
     image: *test-image
     commands:
       - service postgresql start
-      - make check
+      - make check RUNTESTFLAGS=-v
       - make install
-      - utils/check_all_upgrades.sh 2.4.0dev
+      - utils/check_all_upgrades.sh \
+        `grep '^POSTGIS_' Version.config | cut -d= -f2 | paste -sd '.'`



More information about the postgis-tickets mailing list