2018-07-06 16:09:34 +00:00
|
|
|
version: "{build}"
|
|
|
|
|
|
|
|
platform: x64
|
|
|
|
|
|
|
|
clone_folder: c:\gopath\src\go.opencensus.io
|
|
|
|
|
|
|
|
environment:
|
2018-10-03 16:55:26 +00:00
|
|
|
GOPATH: 'c:\gopath'
|
|
|
|
GOVERSION: '1.11'
|
|
|
|
GO111MODULE: 'on'
|
|
|
|
CGO_ENABLED: '0' # See: https://github.com/appveyor/ci/issues/2613
|
2018-07-06 16:09:34 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
|
2019-04-12 15:51:37 +00:00
|
|
|
- choco upgrade golang --version 1.11.5 # Temporary fix because of a go.sum bug in 1.11
|
2018-07-06 16:09:34 +00:00
|
|
|
- go version
|
|
|
|
- go env
|
|
|
|
|
|
|
|
build: false
|
|
|
|
deploy: false
|
|
|
|
|
|
|
|
test_script:
|
|
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
2018-10-03 16:55:26 +00:00
|
|
|
- go build -v .\...
|
|
|
|
- go test -v .\... # No -race because cgo is disabled
|