packer-cn/appveyor.yml

37 lines
751 B
YAML
Raw Normal View History

# appveyor.yml reference : http://www.appveyor.com/docs/appveyor-yml
version: "{build}"
skip_tags: true
branches:
only:
- master
os: Windows Server 2012 R2
environment:
GOPATH: c:\gopath
2017-06-05 14:17:47 -04:00
clone_folder: c:\gopath\src\github.com\hashicorp\packer
install:
- 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 -v -timeout=2m (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/provisioner/ansible' })
test: off
deploy: off