github.com/kikitux/packer@v0.10.1-0.20160322154024-6237df566f9f/appveyor.yml (about) 1 # appveyor.yml reference : http://www.appveyor.com/docs/appveyor-yml 2 3 version: "{build}" 4 5 skip_tags: true 6 7 branches: 8 only: 9 - master 10 11 os: Windows Server 2012 R2 12 13 environment: 14 GOPATH: c:\gopath 15 matrix: 16 - GOARCH: 386 17 GOVERSION: 1.6 18 - GOARCH: amd64 19 GOVERSION: 1.6 20 21 clone_folder: c:\gopath\src\github.com\mitchellh\packer 22 23 install: 24 - set Path=c:\go\bin;%Path% 25 - set GO15VENDOREXPERIMENT=1 26 - echo %Path% 27 - appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-%GOARCH%.msi 28 - msiexec /i go%GOVERSION%.windows-%GOARCH%.msi /q 29 - go version 30 - go env 31 - go get github.com/mitchellh/gox 32 - go get golang.org/x/tools/cmd/stringer 33 - go get golang.org/x/tools/cmd/vet 34 35 build_script: 36 - git rev-parse HEAD 37 - go test -v ./... 38 - go vet ./... 39 40 test: off 41 42 deploy: off