mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-03 17:16:37 +00:00
Add arch-specific go-bin directory to path
This commit is contained in:
@@ -5,16 +5,16 @@ os: Windows Server 2012 R2
|
|||||||
environment:
|
environment:
|
||||||
GOPATH: c:\gopath
|
GOPATH: c:\gopath
|
||||||
matrix:
|
matrix:
|
||||||
#- MSI_ARCH: amd64
|
- MSI_ARCH: amd64
|
||||||
# GO_BUILDARCH: amd64
|
GOARCH: amd64
|
||||||
- MSI_ARCH: x86
|
- MSI_ARCH: x86
|
||||||
GO_BUILDARCH: 386
|
GOARCH: 386
|
||||||
|
|
||||||
clone_folder: c:\gopath\src\github.com\martinlindhe\wmi_exporter
|
clone_folder: c:\gopath\src\github.com\martinlindhe\wmi_exporter
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- go version
|
- go version
|
||||||
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
|
- set PATH=%GOPATH%\bin;c:\go\bin;%GOPATH%\bin\windows_%GOARCH%;%PATH%
|
||||||
- go get -u github.com/kardianos/govendor
|
- go get -u github.com/kardianos/govendor
|
||||||
- go get -u github.com/prometheus/promu
|
- go get -u github.com/prometheus/promu
|
||||||
- choco install gitversion.portable -y
|
- choco install gitversion.portable -y
|
||||||
|
|||||||
Reference in New Issue
Block a user