mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
1e46961d68
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/203 Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/38
25 lines
545 B
YAML
25 lines
545 B
YAML
version: "{build}"
|
|
|
|
platform: x64
|
|
|
|
clone_folder: c:\gopath\src\go.opencensus.io
|
|
|
|
environment:
|
|
GOPATH: 'c:\gopath'
|
|
GOVERSION: '1.11'
|
|
GO111MODULE: 'on'
|
|
CGO_ENABLED: '0' # See: https://github.com/appveyor/ci/issues/2613
|
|
|
|
install:
|
|
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
|
|
- choco upgrade golang --version 1.11.5 # Temporary fix because of a go.sum bug in 1.11
|
|
- go version
|
|
- go env
|
|
|
|
build: false
|
|
deploy: false
|
|
|
|
test_script:
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
|
- go build -v .\...
|
|
- go test -v .\... # No -race because cgo is disabled
|