27 lines
372 B
YAML
27 lines
372 B
YAML
|
|
version: build-{build}.{branch}
|
|
|
|
clone_folder: C:\gopath\src\github.com\Masterminds\sprig
|
|
shallow_clone: true
|
|
|
|
environment:
|
|
GOPATH: C:\gopath
|
|
|
|
platform:
|
|
- x64
|
|
|
|
install:
|
|
- go get -u github.com/Masterminds/glide
|
|
- set PATH=%GOPATH%\bin;%PATH%
|
|
- go version
|
|
- go env
|
|
|
|
build_script:
|
|
- glide install
|
|
- go install ./...
|
|
|
|
test_script:
|
|
- go test -v
|
|
|
|
deploy: off
|