Explorar o código

travis ci php语法检查

littlehz %!s(int64=9) %!d(string=hai) anos
pai
achega
dd98fcb0f3
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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