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

Sandro Santilli strk at kbt.io
Thu Jul 21 10:42:22 PDT 2016


Author: strk
Date: 2016-07-21 10:42:22 -0700 (Thu, 21 Jul 2016)
New Revision: 15017

Modified:
   branches/2.2/.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: branches/2.2/.drone.yml
===================================================================
--- branches/2.2/.drone.yml	2016-07-21 17:41:48 UTC (rev 15016)
+++ branches/2.2/.drone.yml	2016-07-21 17:42:22 UTC (rev 15017)
@@ -1,10 +1,11 @@
 # See http://readme.drone.io/usage/overview
 pipeline:
   build:
+    # See https://git.osgeo.org/gogs/postgis/postgis-docker
     image: docker.kbt.io/postgis/build-test:trisquel
     commands:
       - service postgresql start
       - ./autogen.sh
-      - ./configure
+      - ./configure CFLAGS="-O0 -Wall"
       - make
       - make check



More information about the postgis-tickets mailing list