An error occurred while loading the file. Please try again.
-
Le Roux Erwan authoreddfc269ef
include:
- project: pole-is/tools/ci-config
ref: "4.0.2"
file: /php/packagist.yml
test:
tags: [docker]
parallel:
matrix:
- COMPOSER_MAJOR:
- "1"
- "2"
COMPOSER_OPTS:
- ""
- "--prefer-lowest --prefer-stable"
PHP_VERSION:
- "7.1"
- "7.3"
- "7.4"
- "8.0-rc"
image: php:${PHP_VERSION}-cli
rules:
- if: $PHP_VERSION == "8.0-rc"
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"
- php -v
- php /tmp/composer -V
script:
- php /tmp/composer update --ignore-platform-reqs
- php /tmp/composer test