2019-03-27 20:15:23 +09:00
|
|
|
version: "{build}"
|
|
|
|
|
2019-05-03 21:49:14 +09:00
|
|
|
os: Windows Server 2016
|
|
|
|
|
|
|
|
image: Visual Studio 2017
|
2019-03-27 20:15:23 +09:00
|
|
|
|
|
|
|
clone_folder: c:\gopath\src\github.com\urfave\cli
|
|
|
|
|
2020-10-16 14:06:27 +09:00
|
|
|
cache:
|
|
|
|
- node_modules
|
|
|
|
|
2019-03-27 20:15:23 +09:00
|
|
|
environment:
|
|
|
|
GOPATH: C:\gopath
|
2020-10-16 14:06:27 +09:00
|
|
|
GOVERSION: 1.11.x
|
|
|
|
GO111MODULE: on
|
|
|
|
GOPROXY: https://proxy.golang.org
|
2019-03-27 20:15:23 +09:00
|
|
|
|
|
|
|
install:
|
2020-10-16 14:06:27 +09: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 20:15:23 +09:00
|
|
|
|
|
|
|
build_script:
|
2020-10-16 14:06:27 +09:00
|
|
|
- go run build.go vet
|
|
|
|
- go run build.go test
|
|
|
|
- go run build.go gfmrun docs/v1/manual.md
|