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
|
2017-09-19 14:47:10 +00:00
|
|
|
|
2017-04-04 18:15:30 +00:00
|
|
|
environment:
|
|
|
|
GOPATH: c:\gopath
|
2017-04-04 21:52:45 +00:00
|
|
|
GOBIN: c:\gopath\bin
|
2017-09-19 14:47:10 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
- RUN_UI_TESTS: 1
|
|
|
|
SKIP_NOMAD_TESTS: 1
|
|
|
|
- {}
|
|
|
|
|
2017-04-04 18:15:30 +00:00
|
|
|
install:
|
2017-09-19 14:47:10 +00:00
|
|
|
- cmd: set PATH=%GOBIN%;c:\go\bin;%PATH%
|
|
|
|
- cmd: echo %Path%
|
|
|
|
- cmd: go version
|
|
|
|
- cmd: go env
|
|
|
|
- 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:
|
2017-09-19 14:47:10 +00:00
|
|
|
#- cmd: go test -tags nomad_test ./...
|
|
|
|
- cmd: go install -tags nomad_test
|