mirror of
https://gitea.com/gitea/tea.git
synced 2024-11-29 05:46:54 +01:00
c20d7d45aa
chore(cli): upgrade urfave/cli to v2 version Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com> Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-by: Andrew Thornton <art27@cantab.net>
29 lines
506 B
YAML
29 lines
506 B
YAML
version: "{build}"
|
|
|
|
os: Windows Server 2016
|
|
|
|
image: Visual Studio 2017
|
|
|
|
clone_folder: c:\gopath\src\github.com\urfave\cli
|
|
|
|
cache:
|
|
- node_modules
|
|
|
|
environment:
|
|
GOPATH: C:\gopath
|
|
GOVERSION: 1.11.x
|
|
GO111MODULE: on
|
|
GOPROXY: https://proxy.golang.org
|
|
|
|
install:
|
|
- set PATH=%GOPATH%\bin;C:\go\bin;%PATH%
|
|
- go version
|
|
- go env
|
|
- go get github.com/urfave/gfmrun/cmd/gfmrun
|
|
- go mod tidy
|
|
|
|
build_script:
|
|
- go run build.go vet
|
|
- go run build.go test
|
|
- go run build.go gfmrun docs/v1/manual.md
|