Lint PHP files

This commit is contained in:
Jakub Vrana 2017-02-21 13:47:19 +01:00
parent 56b6590a4f
commit 770fc9673c

5
.travis.yml Normal file
View file

@ -0,0 +1,5 @@
language: php
php:
- '5.3'
- '7.1'
script: git diff --name-only $TRAVIS_COMMIT_RANGE | grep '\.php$' | xargs -n1 -P8 php -l | grep -v 'No syntax errors'; test $? -eq 1