30 lines
613 B
YAML
30 lines
613 B
YAML
|
version: "{build}"
|
||
|
|
||
|
clone_folder: c:\gopath\src\github.com\vektra\mockery
|
||
|
|
||
|
environment:
|
||
|
GOPATH: c:\gopath
|
||
|
matrix:
|
||
|
- environment:
|
||
|
GOVERSION: 1.7.5
|
||
|
- environment:
|
||
|
GOVERSION: 1.8
|
||
|
|
||
|
init:
|
||
|
- git config --global core.autocrlf input
|
||
|
|
||
|
install:
|
||
|
- rmdir c:\go /s /q
|
||
|
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.msi
|
||
|
- msiexec /i go%GOVERSION%.windows-amd64.msi /q
|
||
|
- set Path=c:\go\bin;c:\gopath\bin;%Path%
|
||
|
- go version
|
||
|
- go env
|
||
|
|
||
|
build: false
|
||
|
deploy: false
|
||
|
|
||
|
test_script:
|
||
|
- go get -v -t ./...
|
||
|
- go test -v github.com/vektra/mockery/mockery
|