From 8dff770daf65f96175d9c37e1b3c8f7111a37073 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@inrae.fr>
Date: Thu, 3 Jun 2021 15:29:07 +0200
Subject: [PATCH] =?UTF-8?q?Installe=20les=20d=C3=A9p=C3=B4ts=20APT=20pour?=
 =?UTF-8?q?=20Ubuntu=20avec=20add-apt-repository.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .gitlab-ci.yml | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7242af2..bf9a129 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -42,13 +42,11 @@ ubuntu:
         DISTRO: ubuntu
     parallel:
         matrix:
-            - CODENAME: [xenial, bionic, focal]        
+            - CODENAME: [xenial, bionic, focal]
     before_script:
-        - apt-get update -yqq
-        - apt-get install -yqq apt-transport-https ca-certificates curl gnupg
-        - gpg --keyserver keyserver.ubuntu.com --recv-keys 14AA40EC0831756756D7F66C4F4EA0AAE5267A6C
-        - gpg --export 14AA40EC0831756756D7F66C4F4EA0AAE5267A6C | apt-key add -
-        - echo "deb http://ppa.launchpad.net/ondrej/pxenialhp/ubuntu $CODENAME main" > /etc/apt/sources.list.d/php.list
+        - apt-get update -yq
+        - apt-get install -yq software-properties-common
+        - add-apt-repository -y ppa:ondrej/php
 
 archive:
     image: busybox
-- 
GitLab