diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 71504ba903381f2a50a348eaa6fad4e6dfce8849..47bfe0d6a5cbbba1611941a2ae1ed012e95e8d23 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