更新测试脚本

This commit is contained in:
祁宁 2014-10-11 12:49:42 +08:00
parent 9977578393
commit c9e34420e1
2 changed files with 7 additions and 1 deletions

View File

@ -6,5 +6,5 @@ php:
- 5.3
- 5.2
script: php `pwd`/tools/test.php
script: cd ./tools/ && set -e && make test

View File

@ -103,6 +103,12 @@ pot:
rm -f files.txt
test:
for i in `find ../var/ -name '*.php'`; do php -l $$i; done;
for i in `find ../usr/ -name '*.php'`; do php -l $$i; done;
for i in `find ../admin/ -name '*.php'`; do php -l $$i; done;
all:
make update
make package