update travis

This commit is contained in:
lealife
2015-09-18 11:38:55 +08:00
parent 7acdaede0d
commit bde2e891ef

View File

@ -7,8 +7,7 @@ services:
install: install:
- export PATH=$PATH:$HOME/gopath/bin - export PATH=$PATH:$HOME/gopath/bin
- go get -v github.com/leanote/leanote/app - go get -v github.com/leanote/leanote/app
- go get github.com/revel/cmd/revel
# - go get github.com/revel/cmd/revel
# - go install github.com/revel/cmd/revel # - go install github.com/revel/cmd/revel
- pwd - pwd
- ls - ls
@ -26,10 +25,10 @@ script:
# run with port 9000 # run with port 9000
- ./leanote -importPath=github.com/leanote/leanote -runMode=dev -port=9000 & - ./leanote -importPath=github.com/leanote/leanote -runMode=dev -port=9000 &
# test # test
- wget http://localhost:9000 - curl http://localhost:9000
- wget http://localhost:9000/blog - curl http://localhost:9000/blog
- wget http://localhost:9000/login - curl http://localhost:9000/login
- wget http://localhost:9000/demo - curl http://localhost:9000/demo
# - revel build github.com/leanote/leanote tmp # - revel build github.com/leanote/leanote tmp
# OK # OK