2017-01-14 00:35:16 +03:00
|
|
|
version: "{build}"
|
|
|
|
|
|
|
|
# Source Config
|
2017-11-03 16:05:41 +03:00
|
|
|
|
2017-01-19 03:11:38 +03:00
|
|
|
clone_folder: c:\gopath\src\github.com\golang\dep
|
2017-01-14 00:35:16 +03:00
|
|
|
|
|
|
|
# Build host
|
|
|
|
|
|
|
|
environment:
|
|
|
|
GOPATH: c:\gopath
|
2017-05-02 21:00:01 +03:00
|
|
|
DEPTESTBYPASS501: 1
|
2017-06-27 06:59:16 +03:00
|
|
|
GOVERSION: 1.8
|
2017-01-14 00:35:16 +03:00
|
|
|
|
|
|
|
init:
|
|
|
|
- git config --global core.autocrlf input
|
|
|
|
|
|
|
|
# Build
|
|
|
|
|
|
|
|
install:
|
|
|
|
# Install the specific Go version.
|
|
|
|
- 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
|
2017-05-02 17:44:17 +03:00
|
|
|
- choco install bzr
|
|
|
|
- set Path=c:\go\bin;c:\gopath\bin;C:\Program Files (x86)\Bazaar\;C:\Program Files\Mercurial\%Path%
|
2017-01-14 00:35:16 +03:00
|
|
|
- go version
|
|
|
|
- go env
|
|
|
|
|
|
|
|
build: false
|
|
|
|
deploy: false
|
|
|
|
|
|
|
|
test_script:
|
2017-05-10 08:08:42 +03:00
|
|
|
- go build github.com/golang/dep/cmd/dep
|
2017-05-18 05:51:48 +03:00
|
|
|
- for /f "" %%G in ('go list github.com/golang/dep/... ^| find /i /v "/vendor/"') do ( go test %%G & IF ERRORLEVEL == 1 EXIT 1)
|