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

Sandro Santilli strk at kbt.io
Tue Jul 5 03:16:26 PDT 2016


Author: strk
Date: 2016-07-05 03:16:25 -0700 (Tue, 05 Jul 2016)
New Revision: 14990

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

This avoids attempts to install outdated packages due to cached steps

Modified: branches/2.0/.gitlab-ci.yml
===================================================================
--- branches/2.0/.gitlab-ci.yml	2016-07-05 10:15:29 UTC (rev 14989)
+++ branches/2.0/.gitlab-ci.yml	2016-07-05 10:16:25 UTC (rev 14990)
@@ -1,7 +1,6 @@
 test:
   script:
-    - apt-get update -qq
-    - apt-get install -y
+    - apt-get update -qq && apt-get install -y
         flex bison
         build-essential autoconf libtool libcunit1-dev
         xsltproc docbook-xsl docbook-mathml dblatex



More information about the postgis-tickets mailing list