Commit a9fc285988c010eaf1deb682c5d6335abf87ccab

Guillem Jover 2021-02-28T05:14:54

build: Use apt-get instead of apt in the GitLab CI The former is to be used programmatically, while the latter is intended for interactive use.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 21a1bc7..6fae8fe 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,8 +2,9 @@ image: debian:buster
 
 test:
   before_script:
-    - apt update -qq
-    - apt install -qq -y --no-install-recommends git gcc make autoconf automake libtool libmd-dev
+    - apt-get update -qq
+    - apt-get install -qq -y --no-install-recommends
+              git gcc make autoconf automake libtool libmd-dev
   script:
     - ./autogen && ./configure
     - make check