2019-03-27 19:15:23 +08:00
|
|
|
version: "{build}"
|
|
|
|
|
2019-05-03 20:49:14 +08:00
|
|
|
os: Windows Server 2016
|
|
|
|
|
|
|
|
image: Visual Studio 2017
|
2019-03-27 19:15:23 +08:00
|
|
|
|
|
|
|
clone_folder: c:\gopath\src\github.com\urfave\cli
|
|
|
|
|
2020-10-16 13:06:27 +08:00
|
|
|
cache:
|
|
|
|
- node_modules
|
|
|
|
|
2019-03-27 19:15:23 +08:00
|
|
|
environment:
|
|
|
|
GOPATH: C:\gopath
|
2020-10-16 13:06:27 +08:00
|
|
|
GOVERSION: 1.11.x
|
|
|
|
GO111MODULE: on
|
|
|
|
GOPROXY: https://proxy.golang.org
|
2019-03-27 19:15:23 +08:00
|
|
|
|
|
|
|
install:
|
2020-10-16 13:06:27 +08:00
|
|
|
- set PATH=%GOPATH%\bin;C:\go\bin;%PATH%
|
|
|
|
- go version
|
|
|
|
- go env
|
|
|
|
- go get github.com/urfave/gfmrun/cmd/gfmrun
|
|
|
|
- go mod vendor
|
2019-03-27 19:15:23 +08:00
|
|
|
|
|
|
|
build_script:
|
2020-10-16 13:06:27 +08:00
|
|
|
- go run build.go vet
|
|
|
|
- go run build.go test
|
|
|
|
- go run build.go gfmrun docs/v1/manual.md
|