add appveyor.yml

This commit is contained in:
Martin Lindhe
2016-08-27 12:50:37 +02:00
parent 9a2dbb689f
commit 7005da5389

20
appveyor.yml Normal file
View File

@@ -0,0 +1,20 @@
version: "{build}"
os: Windows Server 2012 R2
environment:
GOPATH: c:\gopath
GOVERSION: 1.7
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
- go version
- go env
- go get -v -t ./...
build_script:
- go build -v .
- go test -v ./...