mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-10 04:16:13 +01:00
29 lines
428 B
YAML
29 lines
428 B
YAML
sudo: false
|
|
|
|
language: php
|
|
|
|
php:
|
|
- 7.0
|
|
- 7.1
|
|
|
|
cache:
|
|
directories:
|
|
- .Build/vendor
|
|
- $HOME/.composer/cache
|
|
|
|
before_install:
|
|
- phpenv config-rm xdebug.ini
|
|
|
|
install:
|
|
- composer install
|
|
|
|
script:
|
|
- >
|
|
echo;
|
|
echo "Validating the composer.json";
|
|
composer validate --no-check-all --no-check-lock --strict;
|
|
|
|
- >
|
|
echo;
|
|
echo "Linting all PHP files";
|
|
find Classes/ Tests/ -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l;
|