update travis

This commit is contained in:
lealife
2015-09-18 11:23:00 +08:00
parent 5e37e5a37d
commit 4d0a170f01
2 changed files with 8 additions and 3 deletions

View File

@ -13,7 +13,12 @@ install:
script:
- mongo --version
- mongorestore -h localhost -d leanote --directoryperdb ./mongodb_backup/leanote_install_data/
- go test github.com/leanote/leanote/app/tests
- go build -ldflags -X github.com/leanote/leanote/app
- go build -o leanote github.com/leanote/leanote/app/tmp
- ./leanote -importPath=github.com/leanote/leanote -runMode=dev -port=9000 &
- wget http://localhost:9000
# - revel build github.com/leanote/leanote tmp
# OK

View File

@ -41,7 +41,7 @@ build "linux" "amd64";
build "windows" "386";
build "windows" "amd64";
build "darwin" "386";
# build "darwin" "386";
build "darwin" "amd64";
@ -139,7 +139,7 @@ tarRelease "linux" "amd64";
tarRelease "windows" "386";
tarRelease "windows" "amd64";
tarRelease "darwin" "386";
# tarRelease "darwin" "386";
tarRelease "darwin" "amd64";
# BLOCK'