From 41f523b92ab63153502233abefc992d3da060a19 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:39:55 +0100 Subject: [PATCH] CI: modifie les logs d'installation. --- .gitlab-ci.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d0b8383..a807ee7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,12 +24,17 @@ test: allow_failure: true - when: always 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 - - curl -sSL "https://getcomposer.org/composer-${COMPOSER_MAJOR}.phar" -o /tmp/composer - - echo -en "section_end:`date +%s`:setup\r\e[0K" + - | + echo -e "section_start:`date +%s`:setup[collapsed=true]\r\e[0KInstall dependencies" + apt-get update -yqq + apt-get install -yqq unzip git + 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: - - php /tmp/composer update --ignore-platform-reqs + - | + echo -e "section_start:`date +%s`:composer[collapsed=true]\r\e[0Kcomposer update" + php /tmp/composer update -n --no-progress ${COMPOSER_OPTS} + echo -en "section_end:`date +%s`:composer\r\e[0K" - php /tmp/composer test -- GitLab