From a7be114c6a0cbf9581ec66f8fd8e5812d6bd9fde Mon Sep 17 00:00:00 2001 From: Minho Date: Tue, 6 Mar 2018 15:00:50 +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 5c15ccb8..c3a5ab64 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ before_install: - go get github.com/garyburd/redigo/redis - go get github.com/go-sql-driver/mysql - go get github.com/golang/freetype - - go get github.com/russross/blackfriday + - go get -u gopkg.in/russross/blackfriday.v2 script: - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh diff --git a/appveyor.yml b/appveyor.yml index 6ecca00b..18f37c4a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -38,7 +38,7 @@ build_script: - if [%tbs_tools%]==[mingw] if [%tbs_arch%]==[x64] SET PATH=C:\mingw64\bin;%PATH% - set CGO_ENABLED=1 - 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) + - for /f "delims=" %%i in ('git describe') do (set DEP_LATEST=%%i) - go install -ldflags="-X main.version=%DEP_LATEST%" ./cmd/dep - for /f "delims=" %%i in ('go version') do (set GO_VERSION=%%i) - cd c:\gopath\src\github.com\lifei6671\mindoc