Sfoglia il codice sorgente

Travis: Don't test vendor PHP files

Daniel Rudolf 9 anni fa
parent
commit
d503cea954
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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