diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d0b8383a669c0a067d36900cdfafa2289bdeb14a..a807ee7f63052e395e36a98b556750ff2d2a55b5 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