optimize vendor caching on appveyor (#5251)

Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
pull/5260/head
Matthew Fisher 6 years ago committed by GitHub
parent 6af20be8de
commit 087d1eab52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,15 +2,17 @@ version: "{build}"
clone_folder: c:\go\src\k8s.io\helm clone_folder: c:\go\src\k8s.io\helm
environment: environment:
GOPATH: c:\go GOPATH: c:\go
GOCACHE: c:\go\cache
PATH: c:\ProgramData\bin;$(PATH) PATH: c:\ProgramData\bin;$(PATH)
install: install:
- ps: iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/fishworks/gofish/master/scripts/install.ps1')) - ps: iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/fishworks/gofish/master/scripts/install.ps1'))
- gofish init - gofish init
- gofish install dep - gofish install dep
- go version - go version
- dep ensure -vendor-only - dep ensure -vendor-only -v
cache: cache:
- vendor -> Gopkg.lock - c:\go\src\k8s.io\helm\vendor -> Gopkg.lock
- c:\go\cache -> Gopkg.lock
build: "off" build: "off"
deploy: "off" deploy: "off"
test_script: test_script:

Loading…
Cancel
Save