appveyor.yml 508 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
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 vendor

build_script:
  - go run build.go vet
  - go run build.go test
  - go run build.go gfmrun docs/v1/manual.md