Skip to content

Commit

Permalink
Lint PHP files
Browse files Browse the repository at this point in the history
  • Loading branch information
vrana committed Feb 21, 2017
1 parent 56b6590 commit 770fc96
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
@@ -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

0 comments on commit 770fc96

Please sign in to comment.