2016-09-23 20:43:03 +00:00
|
|
|
version: '{build}'
|
|
|
|
platform: x64
|
|
|
|
clone_depth: 2
|
|
|
|
clone_folder: c:\gopath\src\github.com\fsouza\go-dockerclient
|
|
|
|
environment:
|
|
|
|
GOPATH: c:\gopath
|
2017-08-10 16:19:19 +00:00
|
|
|
matrix:
|
2018-11-29 22:08:16 +00:00
|
|
|
- GOVERSION: 1.10.5
|
|
|
|
- GOVERSION: 1.11.2
|
2016-09-23 20:43:03 +00:00
|
|
|
install:
|
|
|
|
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
|
|
|
|
- rmdir c:\go /s /q
|
|
|
|
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.zip
|
|
|
|
- 7z x go%GOVERSION%.windows-amd64.zip -y -oC:\ > NUL
|
|
|
|
build_script:
|
2017-11-14 23:27:57 +00:00
|
|
|
- go get -u github.com/golang/dep/cmd/dep
|
|
|
|
- dep ensure -v
|
2017-02-15 01:34:05 +00:00
|
|
|
test_script:
|
2017-11-14 23:27:57 +00:00
|
|
|
- for /f "" %%G in ('go list ./... ^| find /i /v "/vendor/"') do ( go test %%G & IF ERRORLEVEL == 1 EXIT 1)
|
2017-08-10 16:19:19 +00:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|