2015-06-29 12:14:41 -04:00
|
|
|
# appveyor.yml reference : http://www.appveyor.com/docs/appveyor-yml
|
|
|
|
|
|
|
|
version: "{build}"
|
|
|
|
|
|
|
|
skip_tags: true
|
|
|
|
|
2015-06-29 14:04:07 -04:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
2015-06-29 12:14:41 -04:00
|
|
|
os: Windows Server 2012 R2
|
|
|
|
|
|
|
|
environment:
|
|
|
|
GOPATH: c:\gopath
|
|
|
|
|
|
|
|
clone_folder: c:\gopath\src\github.com\mitchellh\packer
|
|
|
|
|
|
|
|
install:
|
2016-02-05 17:08:58 -05:00
|
|
|
- set GO15VENDOREXPERIMENT=1
|
2015-06-29 12:14:41 -04:00
|
|
|
- echo %Path%
|
|
|
|
- go version
|
|
|
|
- go env
|
2016-02-05 17:08:58 -05:00
|
|
|
- go get github.com/mitchellh/gox
|
|
|
|
- go get golang.org/x/tools/cmd/stringer
|
2015-06-29 12:14:41 -04:00
|
|
|
|
|
|
|
build_script:
|
2016-02-05 17:08:58 -05:00
|
|
|
- git rev-parse HEAD
|
2016-04-22 23:42:01 -04:00
|
|
|
# go test $(go list ./... | grep -v vendor)
|
|
|
|
- ps: |
|
|
|
|
go.exe test (go.exe list ./... `
|
|
|
|
|? { -not $_.Contains('/vendor/') } `
|
2017-04-04 16:39:01 -04:00
|
|
|
|? { $_ -ne 'github.com/hashicorp/packer/builder/parallels/common' } `
|
|
|
|
|? { $_ -ne 'github.com/hashicorp/packer/common' }`
|
|
|
|
|? { $_ -ne 'github.com/hashicorp/packer/provisioner/ansible' })
|
2015-06-29 12:14:41 -04:00
|
|
|
|
|
|
|
test: off
|
|
|
|
|
|
|
|
deploy: off
|