From 1066953dfc6f39dfc4324190064deaf8793eaec3 Mon Sep 17 00:00:00 2001 From: Adam Scarr Date: Fri, 13 Jul 2018 19:53:20 +1000 Subject: [PATCH] Appveyor config --- 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 00000000000..3dde988e79c --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,34 @@ +version: "{build}" + +# Source Config + +skip_branch_with_pr: true +clone_folder: c:\gopath\src\github.com\vektah\gqlgen + +# Build host + +environment: + GOPATH: c:\gopath + GOVERSION: 1.10 + PATH: '%PATH%;c:\gopath\bin' + +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 + - go version + +build: false +deploy: false + +test_script: + - go get -u github.com/vektah/gorunpkg github.com/golang/dep/cmd/dep + - dep ensure -vendor-only + - go generate ./... + - go test ./...