aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 61b4cc596..078a91109 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,7 +14,8 @@ install:
script:
- phpenv rehash
- - git ls-files -z "*.php" | xargs -0 -n1 -P4 php -l
+ - find . -not -path "./lib/JSON.php" -name \*.php -print0 | xargs -0 -n1 -P4 php -l 1>/dev/null 2>php-l-results
+ - if [ -s php-l-results ]; then cat php-l-results; exit 1; fi
- |
if [[ $VALIDATE_STANDARD == yes ]]; then
COMPOSER_BIN=$(composer global config --absolute bin-dir)