pkger/azure-pipelines.yml

49 lines
1.0 KiB
YAML
Raw Normal View History

2019-07-30 19:12:21 +03:00
variables:
2019-09-20 18:16:57 +03:00
GOPROXY: "https://proxy.golang.org"
2019-07-30 19:12:21 +03:00
GOBIN: "$(GOPATH)/bin" # Go binaries path
GOPATH: "$(system.defaultWorkingDirectory)/gopath" # Go workspace path
modulePath: "$(GOPATH)/src/github.com/$(build.repository.name)" # Path to the module"s code
jobs:
- job: Windows
pool:
vmImage: "vs2017-win2016"
strategy:
matrix:
go 1.12 (on):
2019-08-30 00:12:32 +03:00
go_version: "1.12.9"
2019-07-30 19:12:21 +03:00
GO111MODULE: "on"
2019-09-20 18:16:57 +03:00
go 1.13 (on):
go_version: "1.13"
GO111MODULE: "on"
2019-07-30 19:12:21 +03:00
steps:
- template: azure-tests.yml
- job: macOS
pool:
vmImage: "macOS-10.13"
strategy:
matrix:
go 1.12 (on):
2019-08-30 00:12:32 +03:00
go_version: "1.12.9"
2019-07-30 19:12:21 +03:00
GO111MODULE: "on"
2019-09-20 18:16:57 +03:00
go 1.13 (on):
go_version: "1.13"
GO111MODULE: "on"
2019-07-30 19:12:21 +03:00
steps:
- template: azure-tests.yml
- job: Linux
pool:
vmImage: "ubuntu-16.04"
strategy:
matrix:
go 1.12 (on):
2019-08-30 00:12:32 +03:00
go_version: "1.12.9"
2019-07-30 19:12:21 +03:00
GO111MODULE: "on"
2019-09-20 18:16:57 +03:00
go 1.13 (on):
go_version: "1.13"
GO111MODULE: "on"
2019-07-30 19:12:21 +03:00
steps:
- template: azure-tests.yml