浏览代码

Travis: Don't test vendor PHP files

Daniel Rudolf 9 年之前
父节点
当前提交
d503cea954
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -14,7 +14,7 @@ matrix:
   fast-finish: true
   fast-finish: true
 
 
 script:
 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:
 before_deploy:
   - composer install
   - composer install