appveyor.yml 545 B

12345678910111213141516171819202122232425
  1. version: "{build}"
  2. platform: x64
  3. clone_folder: c:\gopath\src\go.opencensus.io
  4. environment:
  5. GOPATH: 'c:\gopath'
  6. GOVERSION: '1.11'
  7. GO111MODULE: 'on'
  8. CGO_ENABLED: '0' # See: https://github.com/appveyor/ci/issues/2613
  9. install:
  10. - set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
  11. - choco upgrade golang --version 1.11.5 # Temporary fix because of a go.sum bug in 1.11
  12. - go version
  13. - go env
  14. build: false
  15. deploy: false
  16. test_script:
  17. - cd %APPVEYOR_BUILD_FOLDER%
  18. - go build -v .\...
  19. - go test -v .\... # No -race because cgo is disabled