mirror of
https://github.com/typecho/typecho.git
synced 2025-01-16 20:18:19 +01:00
更新测试脚本
This commit is contained in:
parent
9977578393
commit
c9e34420e1
@ -6,5 +6,5 @@ php:
|
||||
- 5.3
|
||||
- 5.2
|
||||
|
||||
script: php `pwd`/tools/test.php
|
||||
script: cd ./tools/ && set -e && make test
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user