Browse Source

Travis: Don't test vendor PHP files

Daniel Rudolf 9 years ago
parent
commit
d503cea954
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -14,7 +14,7 @@ matrix:
   fast-finish: true
 
 script:
-  - find . -type f -name '*.php' -print0 | xargs -0 -I file php -l file > /dev/null
+  - find . -not \( -path './vendor' -prune \) -type f -name '*.php' -print0 | xargs -0 -I file php -l file > /dev/null
 
 before_deploy:
   - composer install