mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-12-23 03:06:12 +01:00
[TASK] Validate the composer.json
This commit is contained in:
parent
aedcf4530c
commit
97783b5459
1 changed files with 9 additions and 2 deletions
11
.travis.yml
11
.travis.yml
|
@ -18,5 +18,12 @@ install:
|
|||
- composer install
|
||||
|
||||
script:
|
||||
# Run PHP lint on all PHP files.
|
||||
- find Classes/ Tests/ -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l
|
||||
- >
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue