Commit 777d9b53 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

ci: utilise ci-config 6.0.2.

No related merge requests found
Showing with 3 additions and 30 deletions
+3 -30
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment