[postgis-tickets] r14989 - apt-get update && install on the same line

Sandro Santilli strk at kbt.io
Tue Jul 5 03:15:29 PDT 2016


Author: strk
Date: 2016-07-05 03:15:29 -0700 (Tue, 05 Jul 2016)
New Revision: 14989

Modified:
   trunk/.gitlab-ci.yml
Log:
apt-get update && install on the same line

This avoids attempts to install outdated packages due to cached steps

Modified: trunk/.gitlab-ci.yml
===================================================================
--- trunk/.gitlab-ci.yml	2016-07-05 10:15:14 UTC (rev 14988)
+++ trunk/.gitlab-ci.yml	2016-07-05 10:15:29 UTC (rev 14989)
@@ -1,7 +1,6 @@
 test:
   script:
-    - apt-get update -qq
-    - apt-get install -y
+    - apt-get update -qq && apt-get install -y
         postgresql-9.4 postgresql-server-dev-9.4
         build-essential autoconf libtool libcunit1-dev
         xsltproc docbook-xsl docbook-mathml dblatex



More information about the postgis-tickets mailing list