From 4d0a170f0112315235f1023bb5532083aa0eb0d5 Mon Sep 17 00:00:00 2001 From: lealife Date: Fri, 18 Sep 2015 11:23:00 +0800 Subject: [PATCH] update travis --- .travis.yml | 7 ++++++- bin/release.sh | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 27c4466..d78e7b1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 \ No newline at end of file diff --git a/bin/release.sh b/bin/release.sh index 3e488d2..9b69e92 100644 --- a/bin/release.sh +++ b/bin/release.sh @@ -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'