From 7313ef720962a7ec23f84b3aa6dc6ea0dbbabe3a Mon Sep 17 00:00:00 2001 From: Minho Date: Tue, 6 Mar 2018 14:45:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E5=8C=85=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=B7=A5=E5=85=B7=E5=B9=B6=E5=8D=87=E7=BA=A7=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 2 +- appveyor.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a6eebe96..5c15ccb8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,4 +38,4 @@ deploy: overwrite: true tags: true all_branches: true - go: 1.9.2 + go: "1.10" diff --git a/appveyor.yml b/appveyor.yml index 8eaa5c8b..6ecca00b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -40,9 +40,9 @@ build_script: - go get -u github.com/golang/dep/cmd/dep && cd %GOPATH%/src/github.com/golang/dep - for /f "delims=" %%i in ('git describe --abbrev=0 --tags') do (set DEP_LATEST=%%i) - go install -ldflags="-X main.version=%DEP_LATEST%" ./cmd/dep - - dep ensure -v - for /f "delims=" %%i in ('go version') do (set GO_VERSION=%%i) - cd c:\gopath\src\github.com\lifei6671\mindoc + - dep ensure -v - go build -v -o "mindoc_windows_%GOARCH%.exe" -ldflags="-w -X github.com/lifei6671/mindoc/conf.VERSION=%APPVEYOR_REPO_TAG_NAME% -X 'github.com/lifei6671/mindoc/conf.BUILD_TIME=%date% %time%' -X 'conf.GO_VERSION=%GO_VERSION%'" - 7z a -t7z -r mindoc_windows_%GOARCH%.7z conf/*.conf* static/* mindoc_windows_%GOARCH%.exe views/* uploads/* test_script: