From 674b4486c022e9ff7dc07aa1cd4b3779fb7d24bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@irstea.fr> Date: Thu, 25 Feb 2021 16:46:48 +0100 Subject: [PATCH] ci: simplifie l'installation sur Debian. --- .gitlab-ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5b63f43..d7a22be 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,12 +21,10 @@ debian: matrix: - CODENAME: [jessie, stretch, buster] before_script: - - | - set -eux - . /etc/os-release - apt-get install -yq apt-transport-https ca-certificates curl - curl -sSL -o /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg - echo "deb https://packages.sury.org/php/ $VERSION_CODENAME main" > /etc/apt/sources.list.d/php.list + - apt-get update -yqq + - apt-get install -yq apt-transport-https ca-certificates curl + - curl -sSL -o /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg + - echo "deb https://packages.sury.org/php/ $CODENAME main" > /etc/apt/sources.list.d/php.list ubuntu: extends: .job -- GitLab