35 lines
742 B
YAML
35 lines
742 B
YAML
version: "{build}"
|
|
|
|
os: Windows Server 2012 R2
|
|
|
|
clone_folder: c:\gopath\src\github.com\urfave\cli
|
|
|
|
cache:
|
|
- node_modules
|
|
|
|
environment:
|
|
GOPATH: C:\gopath
|
|
GOVERSION: 1.6
|
|
PYTHON: C:\Python27-x64
|
|
PYTHON_VERSION: 2.7.x
|
|
PYTHON_ARCH: 64
|
|
|
|
install:
|
|
- set PATH=%GOPATH%\bin;C:\go\bin;%PATH%
|
|
- go version
|
|
- go env
|
|
- go get github.com/urfave/gfmrun/...
|
|
- rmdir c:\gopath\src\gopkg.in\urfave\cli.v2 /s /q
|
|
- rmdir c:\gopath\pkg /s /q
|
|
- git clone . c:\gopath\src\gopkg.in\urfave\cli.v2
|
|
- go get -v -t ./...
|
|
- if not exist node_modules\.bin\markdown-toc npm install markdown-toc
|
|
|
|
build_script:
|
|
- python runtests vet
|
|
- python runtests test
|
|
- python runtests gfmrun
|
|
- python cli-v1-to-v2 --selftest
|
|
- python runtests migrations
|
|
- python runtests toc
|