Add arch-specific go-bin directory to path

This commit is contained in:
Calle Pettersson
2016-12-22 06:54:46 +01:00
committed by GitHub
parent 8df4ea3f51
commit 8482814343

View File

@@ -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