36 lines
693 B
YAML
36 lines
693 B
YAML
# 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
|
|
|
|
clone_folder: c:\gopath\src\github.com\hashicorp\packer
|
|
|
|
install:
|
|
- set GO111MODULE=off
|
|
- echo %Path%
|
|
- go version
|
|
- go env
|
|
|
|
build_script:
|
|
- git rev-parse HEAD
|
|
# go test $(go list ./... | grep -v vendor)
|
|
- ps: |
|
|
go.exe test -timeout=2m (go.exe list ./... `
|
|
|? { -not $_.Contains('/vendor/') } `
|
|
|? { $_ -ne 'github.com/hashicorp/packer/builder/parallels/common' } `
|
|
|? { $_ -ne 'github.com/hashicorp/packer/provisioner/ansible' })
|
|
|
|
test: off
|
|
|
|
deploy: off
|