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