[postgis-tickets] r15019 - Use a variable for the test-image
Sandro Santilli
strk at kbt.io
Thu Jul 21 10:51:42 PDT 2016
Author: strk
Date: 2016-07-21 10:51:41 -0700 (Thu, 21 Jul 2016)
New Revision: 15019
Modified:
trunk/.drone.yml
Log:
Use a variable for the test-image
Modified: trunk/.drone.yml
===================================================================
--- trunk/.drone.yml 2016-07-21 17:44:43 UTC (rev 15018)
+++ trunk/.drone.yml 2016-07-21 17:51:41 UTC (rev 15019)
@@ -1,18 +1,21 @@
# See http://readme.drone.io/0.5/usage/overview
+
+# See https://git.osgeo.org/gogs/postgis/postgis-docker
+test-image: &test-image docker.kbt.io/postgis/build-test:trisquel
+
pipeline:
clone:
image: git
depth: 50
recursive: false
build:
- # See https://git.osgeo.org/gogs/postgis/postgis-docker
- image: docker.kbt.io/postgis/build-test:trisquel
+ image: *test-image
commands:
- ./autogen.sh
- ./configure CFLAGS="-O0 -Wall"
- make
check:
- image: docker.kbt.io/postgis/build-test:trisquel
+ image: *test-image
commands:
- service postgresql start
- make check
More information about the postgis-tickets
mailing list