From 777d9b53e32af2a2570faf2c0b844b434617fd5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@irstea.fr> Date: Thu, 4 Mar 2021 15:10:16 +0100 Subject: [PATCH] ci: utilise ci-config 6.0.2. --- .gitlab-ci.yml | 33 +++------------------------------ 1 file changed, 3 insertions(+), 30 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 71504ba..47bfe0d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,33 +1,6 @@ include: - project: pole-is/tools/ci-config ref: "6.0.2" - file: /php/packagist.yml - -test: - tags: [docker] - parallel: - matrix: - - COMPOSER_MAJOR: - - "1" - - "2" - PHP_VERSION: - - "7.1" - - "7.3" - - "7.4" - - "8.0" - image: gitlab-registry.irstea.fr/pole-is/docker/php:buster-${PHP_VERSION}-4.0.0 - before_script: - - | - echo -e "section_start:`date +%s`:setup[collapsed=true]\r\e[0KInstall dependencies" - apt-get update -yqq - apt-get install -yqq unzip git php${PHP_VERSION}-pcov - curl -sSL "https://getcomposer.org/composer-${COMPOSER_MAJOR}.phar" -o /tmp/composer - echo -en "section_end:`date +%s`:setup\r\e[0K" - - php -v - - php /tmp/composer -V - script: - - | - echo -e "section_start:`date +%s`:composer[collapsed=true]\r\e[0Kcomposer update" - php /tmp/composer update -n --no-progress - echo -en "section_end:`date +%s`:composer\r\e[0K" - - php /tmp/composer test + file: + - /php/multiversions.yml + - /php/packagist.yml -- GitLab