From 8faf51dd0f105d404ec9251bc5823eee713796e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@inrae.fr> Date: Sun, 25 Oct 2020 19:48:37 +0100 Subject: [PATCH] Installe pcov (sauf sur PHP 8.0). --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ef1951a..ee762d7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,7 +27,11 @@ test: - | echo -e "section_start:`date +%s`:setup[collapsed=true]\r\e[0KInstall dependencies" apt-get update -yqq - apt-get install -yqq unzip git php-pcov + apt-get install -yqq unzip git + if [[ $PHP_VERSION != "8.0-rc" ]]; then + pecl install pcov + docker-php-ext-enable pcov + fi curl -sSL "https://getcomposer.org/composer-${COMPOSER_MAJOR}.phar" -o /tmp/composer echo -en "section_end:`date +%s`:setup\r\e[0K" - php -v -- GitLab