2019-04-26 01:06:53 +08:00
|
|
|
version: "{build}"
|
|
|
|
|
|
|
|
os: Windows Server 2016
|
|
|
|
|
|
|
|
image: Visual Studio 2017
|
|
|
|
|
|
|
|
clone_folder: c:\gopath\src\github.com\urfave\cli
|
|
|
|
|
2020-01-04 12:45:36 +08:00
|
|
|
cache:
|
|
|
|
- node_modules
|
|
|
|
|
2019-04-26 01:06:53 +08:00
|
|
|
environment:
|
|
|
|
GOPATH: C:\gopath
|
2020-01-04 12:45:36 +08:00
|
|
|
GOVERSION: 1.11.x
|
|
|
|
GO111MODULE: on
|
|
|
|
GOPROXY: https://proxy.golang.org
|
2019-04-26 01:06:53 +08:00
|
|
|
|
|
|
|
install:
|
2020-01-04 12:45:36 +08:00
|
|
|
- set PATH=%GOPATH%\bin;C:\go\bin;%PATH%
|
|
|
|
- go version
|
|
|
|
- go env
|
|
|
|
- go get github.com/urfave/gfmrun/cmd/gfmrun
|
2020-01-05 01:44:25 +08:00
|
|
|
- go mod tidy
|
2019-04-26 01:06:53 +08:00
|
|
|
|
|
|
|
build_script:
|
2020-01-04 12:45:36 +08:00
|
|
|
- go run build.go vet
|
|
|
|
- go run build.go test
|
|
|
|
- go run build.go gfmrun docs/v1/manual.md
|