Template-GLPI-Plugin/.travis.yml
Cédric Anne 3fa4e67698 Update Travis configuration
- 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.
2022-01-31 13:35:19 +01:00

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