Forráskód Böngészése

travis ci php语法检查

littlehz 9 éve
szülő
commit
dd98fcb0f3
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      .travis.yml

+ 1 - 0
.travis.yml

@@ -23,6 +23,7 @@ before_script:
   - cd tests && ../vendor/bin/codecept build
 
 script:
+  - find ../ -path '../vendor' -prune -o -type f -iname "*.php" -print0 | xargs -0 -n1 php -l
   - ../vendor/bin/codecept run
 matrix:
   fast_finish: true