Skip to content

Commit

Permalink
Merge pull request alleyinteractive#454 from alleyinteractive/lint-al…
Browse files Browse the repository at this point in the history
…l-builds

Run `php -l` on all builds to catch syntax errors
  • Loading branch information
danielbachhuber committed Feb 20, 2016
2 parents 915af49 + baed89f commit ba310d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -37,6 +37,7 @@ before_script:
fi
script:
- find . -path ./vendor -prune -o -type "f" -iname "*.php" | xargs -L "1" php -l
- |
if [[ ! -z "$WP_VERSION" ]] ; then
phpunit
Expand Down

0 comments on commit ba310d4

Please sign in to comment.