mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00

- Add PHP 7.4 in matrix. - Limit matrix to lowest and highiest PHP supported version. - Run CS checks in strict mode. - Remove dead config lines.
21 lines
349 B
YAML
21 lines
349 B
YAML
language: php
|
|
php:
|
|
- 5.6
|
|
- 7.4
|
|
- nightly
|
|
|
|
before_script:
|
|
- composer self-update
|
|
- composer install --optimize-autoloader --prefer-dist --no-interaction --no-progress --no-suggest
|
|
|
|
script:
|
|
- vendor/bin/robo --no-interaction code:cs --strict
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- php: nightly
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.composer/cache
|