Browse Source

travis ci php语法检查

littlehz 9 years ago
parent
commit
dd98fcb0f3
1 changed files with 1 additions and 0 deletions
  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