mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-23 05:06:36 +00:00
Use dep instead of govendor
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
This commit is contained in:
committed by
Martin Lindhe
parent
b9b8cfd1ca
commit
617d795383
@@ -15,13 +15,11 @@ clone_folder: c:\gopath\src\github.com\martinlindhe\wmi_exporter
|
||||
install:
|
||||
- go version
|
||||
- set PATH=%GOPATH%\bin;c:\go\bin;%GOPATH%\bin\windows_%GOARCH%;%PATH%
|
||||
- go get -u github.com/kardianos/govendor
|
||||
- go get -u github.com/prometheus/promu
|
||||
- choco install gitversion.portable -y
|
||||
|
||||
build_script:
|
||||
- ps: gitversion /output json /showvariable FullSemVer | Set-Content VERSION -PassThru
|
||||
- govendor test -v +local
|
||||
- promu build -v
|
||||
- ps: |
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
Reference in New Issue
Block a user