From ec7512d0e6149eb04f7b48c117873075c7c87532 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Thu, 9 Jun 2016 11:35:11 +0700 Subject: [PATCH] use AppVeyor for running tests on Windows ref #174 --- appveyor.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 000000000..eb888b98f --- /dev/null +++ b/appveyor.yml @@ -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