open-nomad/appveyor.yml

21 lines
862 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
#- cmd: go install -tags nomad_test
2017-04-04 18:15:30 +00:00
build_script:
#- cmd: go test -tags nomad_test ./...
- cmd: go install -tags nomad_test