use AppVeyor for running tests on Windows

ref #174
This commit is contained in:
Marten Seemann
2016-06-09 11:35:11 +07:00
parent 0f9e15e2c9
commit ec7512d0e6

34
appveyor.yml Normal file
View File

@@ -0,0 +1,34 @@
version: "{build}"
os: Windows Server 2012 R2
environment:
GOPATH: c:\gopath
CGO_ENABLED: 0
matrix:
- GOARCH: 386
- GOARCH: amd64
clone_folder: c:\gopath\src\github.com\lucas-clemente\quic-go
install:
- rmdir c:\go /s /q
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.7beta1.windows-amd64.zip
- 7z x go1.7beta1.windows-amd64.zip -y -oC:\ > NUL
- set PATH=%PATH%;%GOPATH%\bin
- echo %PATH%
- echo %GOPATH%
- git submodule update --init --recursive
- go get github.com/onsi/ginkgo/ginkgo
- go get github.com/onsi/gomega
- go version
- go env
- go get -v -t ./...
build_script:
- rm -r integrationtests
- go test ./... --ginkgo.noColor
test: off
deploy: off