rmove testrunner

This commit is contained in:
lealife
2015-09-18 13:44:25 +08:00
parent 2b56ebd620
commit c4954b94b8
3 changed files with 4 additions and 3 deletions

View File

@ -25,7 +25,8 @@ script:
# build
- go build -o leanote github.com/leanote/leanote/app/tmp
# run with port 9000
- ./leanote -importPath=github.com/leanote/leanote -runMode=prod -port=9000 &
- ./leanote -importPath=github.com/leanote/leanote -runMode=dev -port=9000 &
- sleep 20s;
# test
- curl http://localhost:9000
- curl http://localhost:9000/blog