Download specific consul/vault

This commit is contained in:
Alex Dadgar 2017-04-04 16:04:44 -07:00
parent 09502334e1
commit 503cdb649d

View file

@ -5,10 +5,15 @@ environment:
GOPATH: c:\gopath GOPATH: c:\gopath
GOBIN: c:\gopath\bin GOBIN: c:\gopath\bin
install: install:
- cmd: set PATH=%GOBIN%;c:\go\bin;%PATH%
- cmd: echo %Path% - cmd: echo %Path%
- cmd: go version - cmd: go version
- cmd: go env - cmd: go env
- cmd: go get github.com/hashicorp/vault - 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 - cmd: go install
build_script: build_script:
- cmd: go test -tags nomad_test ./... - cmd: go test -tags nomad_test ./...