[postgis-tickets] r15016 - Use -O0 for test builds, add reference to postgis-docker

Sandro Santilli strk at kbt.io
Thu Jul 21 10:41:48 PDT 2016


Author: strk
Date: 2016-07-21 10:41:48 -0700 (Thu, 21 Jul 2016)
New Revision: 15016

Modified:
   trunk/.drone.yml
Log:
Use -O0 for test builds, add reference to postgis-docker

Removing the optimization flag reduces build time from ~40s to ~30s

Modified: trunk/.drone.yml
===================================================================
--- trunk/.drone.yml	2016-07-21 16:14:24 UTC (rev 15015)
+++ trunk/.drone.yml	2016-07-21 17:41:48 UTC (rev 15016)
@@ -5,10 +5,11 @@
     depth: 50
     recursive: false
   build:
+    # See https://git.osgeo.org/gogs/postgis/postgis-docker
     image: docker.kbt.io/postgis/build-test:trisquel
     commands:
       - ./autogen.sh
-      - ./configure
+      - ./configure CFLAGS="-O0 -Wall"
       - make
   check:
     image: docker.kbt.io/postgis/build-test:trisquel



More information about the postgis-tickets mailing list