From a3fa7cdce3082f392cfb8afa3e529d71b02b8da2 Mon Sep 17 00:00:00 2001 From: Emil Hessman Date: Mon, 29 Jun 2015 18:14:41 +0200 Subject: [PATCH] Add AppVeyor configuration file Packer lacks an official Windows CI server. This commit adds a configuration file for AppVeyor, which is a Windows CI service (free for open-source projects). --- appveyor.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 000000000..859f053c5 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,33 @@ +# appveyor.yml reference : http://www.appveyor.com/docs/appveyor-yml + +version: "{build}" + +skip_tags: true + +os: Windows Server 2012 R2 + +environment: + GOPATH: c:\gopath + matrix: + - GOARCH: 386 + GOVERSION: 1.4.2 + - GOARCH: amd64 + GOVERSION: 1.4.2 + +clone_folder: c:\gopath\src\github.com\mitchellh\packer + +install: + - set Path=c:\go\bin;%Path% + - echo %Path% + - appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-%GOARCH%.msi + - msiexec /i go%GOVERSION%.windows-%GOARCH%.msi /q + - go version + - go env + - go get -d -v -t ./... + +build_script: + - go test -v ./... + +test: off + +deploy: off