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

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


Author: strk
Date: 2016-07-05 03:22:22 -0700 (Tue, 05 Jul 2016)
New Revision: 14991

Modified:
   branches/2.1/.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.1/.gitlab-ci.yml
===================================================================
--- branches/2.1/.gitlab-ci.yml	2016-07-05 10:16:25 UTC (rev 14990)
+++ branches/2.1/.gitlab-ci.yml	2016-07-05 10:22:22 UTC (rev 14991)
@@ -1,7 +1,6 @@
 test:
   script:
-    - apt-get update -qq
-    - apt-get install -y
+    - apt-get update -qq && apt-get install -y
         flex bison
         postgresql-9.4 postgresql-server-dev-9.4
         build-essential autoconf libtool libcunit1-dev



More information about the postgis-tickets mailing list