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

Sandro Santilli strk at kbt.io
Tue Jul 5 03:51:11 PDT 2016


Author: strk
Date: 2016-07-05 03:51:10 -0700 (Tue, 05 Jul 2016)
New Revision: 14992

Modified:
   branches/2.2/.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.2/.gitlab-ci.yml
===================================================================
--- branches/2.2/.gitlab-ci.yml	2016-07-05 10:22:22 UTC (rev 14991)
+++ branches/2.2/.gitlab-ci.yml	2016-07-05 10:51:10 UTC (rev 14992)
@@ -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