2016-02-07 11:54:15 +00:00
|
|
|
version: "{build}"
|
|
|
|
|
|
|
|
os: Windows Server 2012 R2
|
|
|
|
|
2016-05-22 23:32:48 +00:00
|
|
|
clone_folder: c:\gopath\src\github.com\urfave\cli
|
|
|
|
|
2016-06-18 19:47:23 +00:00
|
|
|
cache:
|
|
|
|
- node_modules
|
|
|
|
|
2016-05-22 23:15:05 +00:00
|
|
|
environment:
|
2016-05-22 23:37:59 +00:00
|
|
|
GOPATH: C:\gopath
|
2016-05-22 23:15:05 +00:00
|
|
|
GOVERSION: 1.6
|
2016-05-22 23:37:59 +00:00
|
|
|
PYTHON: C:\Python27-x64
|
|
|
|
PYTHON_VERSION: 2.7.x
|
|
|
|
PYTHON_ARCH: 64
|
2016-05-23 00:35:25 +00:00
|
|
|
GFMXR_DEBUG: 1
|
2016-05-22 23:15:05 +00:00
|
|
|
|
2016-02-07 11:54:15 +00:00
|
|
|
install:
|
2016-05-23 23:39:04 +00:00
|
|
|
- set PATH=%GOPATH%\bin;C:\go\bin;%PATH%
|
|
|
|
- go version
|
|
|
|
- go env
|
2016-06-18 19:20:35 +00:00
|
|
|
- git clone . c:\gopath\src\gopkg.in\urfave\cli.v2
|
2016-06-17 14:42:44 +00:00
|
|
|
- go get github.com/urfave/gfmxr/...
|
|
|
|
- go get -v -t ./...
|
2016-06-18 20:29:33 +00:00
|
|
|
- npm bin
|
2016-06-18 20:04:39 +00:00
|
|
|
- ps: $MarkdownTocExists = Test-Path node_modules\.bin\markdown-toc
|
2016-06-18 20:24:46 +00:00
|
|
|
- ps: if ($MarkdownTocExists -eq $False) { cmd /c npm install markdown-toc }
|
2016-02-07 11:54:15 +00:00
|
|
|
|
|
|
|
build_script:
|
2016-05-23 23:39:04 +00:00
|
|
|
- python runtests vet
|
|
|
|
- python runtests test
|
|
|
|
- python runtests gfmxr
|
2016-05-30 14:46:00 +00:00
|
|
|
- python cli-v1-to-v2 --selftest
|
2016-05-30 17:59:45 +00:00
|
|
|
- python runtests migrations
|
2016-06-17 14:31:05 +00:00
|
|
|
- python runtests toc
|