1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-04-28 03:10:45 +00:00

rename run-test.sh to seahubtests

This commit is contained in:
lins05 2014-08-19 17:01:31 +08:00
parent 145399eed3
commit e556ad13c0
2 changed files with 4 additions and 2 deletions

View File

@ -6,7 +6,7 @@ before_install:
# install phantomjs/casperjs
- ./tests/install-deps.sh
script:
- ./tests/run-tests.sh init && ./tests/run-tests.sh run
- ./tests/seahubtests.sh init && ./tests/seahubtests.sh runserver && ./tests/seahubtests.sh test
env:
- CCNET_CONF_DIR=/tmp/ccnet SEAFILE_CONF_DIR=/tmp/seafile-data
install:

View File

@ -39,8 +39,10 @@ case $1 in
"init")
init
;;
"run")
"runserver")
start_seahub
;;
"test")
run_tests
;;
*)