2018-10-10 18:56:21 +02:00
|
|
|
version: "{build}"
|
|
|
|
|
|
|
|
platform: x64
|
|
|
|
|
|
|
|
clone_folder: c:\gopath\src\go.opencensus.io
|
|
|
|
|
|
|
|
environment:
|
2019-02-20 19:57:56 +01:00
|
|
|
GOPATH: 'c:\gopath'
|
|
|
|
GOVERSION: '1.11'
|
|
|
|
GO111MODULE: 'on'
|
|
|
|
CGO_ENABLED: '0' # See: https://github.com/appveyor/ci/issues/2613
|
2018-10-10 18:56:21 +02:00
|
|
|
|
|
|
|
install:
|
|
|
|
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
|
|
|
|
- go version
|
|
|
|
- go env
|
|
|
|
|
|
|
|
build: false
|
|
|
|
deploy: false
|
|
|
|
|
|
|
|
test_script:
|
|
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
2019-02-20 19:57:56 +01:00
|
|
|
- go build -v .\...
|
|
|
|
- go test -v .\... # No -race because cgo is disabled
|