Commit 571e1922 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

ci: utilise la même image que les paquets qu'importe.

No related merge requests found
Pipeline #21074 passed with stages
in 1 minute and 30 seconds
Showing with 2 additions and 10 deletions
+2 -10
......@@ -15,20 +15,12 @@ test:
- "7.3"
- "7.4"
- "8.0"
image: php:${PHP_VERSION}-cli
rules:
- if: $PHP_VERSION == "8.0-rc"
allow_failure: true
- when: always
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
if [[ $PHP_VERSION != "8.0-rc" ]]; then
pecl install pcov
docker-php-ext-enable pcov
fi
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
......
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