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