From 33f96b4303db41975783fdf915fa0187bc300d5e Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Wed, 17 Oct 2018 13:38:53 +0200 Subject: [PATCH] revert appveyor skips as windows builds are pretty unstable --- appveyor.yml | 38 +++++++++++++++++++++++++++++++++++--- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index d1cfc51e9..60b78ccdc 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,6 +1,38 @@ +# appveyor.yml reference : http://www.appveyor.com/docs/appveyor-yml -skip_commits: - message: /.*/ +version: "{build}" + +skip_tags: true + +branches: + only: + - master + +os: Windows Server 2012 R2 + +environment: + GOPATH: c:\gopath + +clone_folder: c:\gopath\src\github.com\hashicorp\packer + +install: + - set GO15VENDOREXPERIMENT=1 + - echo %Path% + - go version + - go env + - go get github.com/mitchellh/gox + - go get golang.org/x/tools/cmd/stringer + +build_script: + - git rev-parse HEAD + # go test $(go list ./... | grep -v vendor) + - ps: | + go.exe test (go.exe list ./... ` + |? { -not $_.Contains('/vendor/') } ` + |? { $_ -ne 'github.com/hashicorp/packer/builder/parallels/common' } ` + |? { $_ -ne 'github.com/hashicorp/packer/common' }` + |? { $_ -ne 'github.com/hashicorp/packer/provisioner/ansible' }) + +test: off -build: off deploy: off