open-nomad/appveyor.yml

20 lines
808 B
YAML
Raw Normal View History

2017-04-04 18:15:30 +00:00
version: "build-{branch}-{build}"
image: Visual Studio 2017
clone_folder: c:\gopath\src\github.com\hashicorp\nomad
environment:
GOPATH: c:\gopath
2017-04-04 21:52:45 +00:00
GOBIN: c:\gopath\bin
2017-04-04 18:15:30 +00:00
install:
2017-04-04 23:04:44 +00:00
- cmd: set PATH=%GOBIN%;c:\go\bin;%PATH%
2017-04-04 18:15:30 +00:00
- cmd: echo %Path%
- cmd: go version
- cmd: go env
2017-04-04 23:04:44 +00:00
- ps: mkdir C:\gopath\bin
- ps: appveyor DownloadFile "https://releases.hashicorp.com/vault/0.7.0/vault_0.7.0_windows_amd64.zip" -FileName "C:\\gopath\\bin\\vault.zip"
- ps: Expand-Archive C:\gopath\bin\vault.zip -DestinationPath C:\gopath\bin
- ps: appveyor DownloadFile "https://releases.hashicorp.com/consul/0.7.0/consul_0.7.0_windows_amd64.zip" -FileName "C:\\gopath\\bin\\consul.zip"
- ps: Expand-Archive C:\gopath\bin\consul.zip -DestinationPath C:\gopath\bin
2017-04-04 18:15:30 +00:00
- cmd: go install
build_script:
2017-04-04 19:50:12 +00:00
- cmd: go test -tags nomad_test ./...