From 97783b545948fe69789138ac0a1eb369aab4217d Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Sat, 13 Jan 2018 00:26:51 +0100 Subject: [PATCH] [TASK] Validate the composer.json --- .travis.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 51d15ab..d1ea6ab 100644 --- a/.travis.yml +++ b/.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;