Skip to content

Commit

Permalink
Merge pull request #130 from Schlaefer/feature/dont-lint-vendor-files
Browse files Browse the repository at this point in the history
[TASK] don't lint lib/vendor files
  • Loading branch information
NeoBlack committed Aug 27, 2014
2 parents 1eb560d + 05b7222 commit 7aa42b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ script:
lib/vendor/phpunit/phpunit/phpunit --bootstrap tests/phpunit_bootstrap.php tests/
- |
echo; echo "Running php lint"; /bin/bash -c "
if ! find lib/ -name \*.php -exec php -l {} \; > /tmp/errors 2>&1; then
if ! find lib -name \*.php -not -path 'lib/vendor/*' -exec php -l {} \; > /tmp/errors 2>&1; then
grep -v \"No syntax errors detected in\" /tmp/errors;
exit 99;
fi
Expand Down

0 comments on commit 7aa42b5

Please sign in to comment.