]> granicus.if.org Git - postgis/commitdiff
apt-get update && install on the same line
authorSandro Santilli <strk@keybit.net>
Tue, 5 Jul 2016 10:15:29 +0000 (10:15 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 5 Jul 2016 10:15:29 +0000 (10:15 +0000)
This avoids attempts to install outdated packages due to cached steps

git-svn-id: http://svn.osgeo.org/postgis/trunk@14989 b70326c6-7e19-0410-871a-916f4a2858ee

.gitlab-ci.yml

index 1fff82fa2f228f0e0a7e5c55e783f71fd3f319cf..9ded3d38292e0a78cb7b8a79cccf205284694e70 100644 (file)
@@ -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