Add matrix legacy convert testdata
parent
6a1167dbb3
commit
1c2e4e9916
@ -0,0 +1,19 @@
|
||||
|
||||
pipeline:
|
||||
test:
|
||||
image: golang:${GO_VERSION}
|
||||
commands:
|
||||
- go test -v ./...
|
||||
|
||||
services:
|
||||
redis:
|
||||
image: redis:2.6
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- GO_VERSION: 1.11
|
||||
REDIS_VERSION: 2.6
|
||||
- GO_VERSION: 1.10
|
||||
REDIS_VERSION: 2.6
|
||||
- GO_VERSION: 1.9
|
||||
REDIS_VERSION: 2.6
|
@ -0,0 +1,61 @@
|
||||
---
|
||||
kind: pipeline
|
||||
name: matrix-1
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
pull: default
|
||||
image: golang:1.11
|
||||
commands:
|
||||
- go test -v ./...
|
||||
|
||||
services:
|
||||
- name: redis
|
||||
pull: default
|
||||
image: redis:2.6
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: matrix-2
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
pull: default
|
||||
image: golang:1.10
|
||||
commands:
|
||||
- go test -v ./...
|
||||
|
||||
services:
|
||||
- name: redis
|
||||
pull: default
|
||||
image: redis:2.6
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: matrix-3
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
pull: default
|
||||
image: golang:1.9
|
||||
commands:
|
||||
- go test -v ./...
|
||||
|
||||
services:
|
||||
- name: redis
|
||||
pull: default
|
||||
image: redis:2.6
|
||||
|
||||
...
|
@ -0,0 +1,19 @@
|
||||
|
||||
pipeline:
|
||||
test:
|
||||
image: golang:${GO_VERSION}
|
||||
commands:
|
||||
- go test -v ./...
|
||||
|
||||
services:
|
||||
redis:
|
||||
image: redis:${REDIS_VERSION}
|
||||
|
||||
matrix:
|
||||
GO_VERSION:
|
||||
- 1.11
|
||||
- 1.10
|
||||
|
||||
REDIS_VERSION:
|
||||
- 2.6
|
||||
- 2.8
|
@ -0,0 +1,81 @@
|
||||
---
|
||||
kind: pipeline
|
||||
name: matrix-1
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
pull: default
|
||||
image: golang:1.11
|
||||
commands:
|
||||
- go test -v ./...
|
||||
|
||||
services:
|
||||
- name: redis
|
||||
pull: default
|
||||
image: redis:2.6
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: matrix-2
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
pull: default
|
||||
image: golang:1.11
|
||||
commands:
|
||||
- go test -v ./...
|
||||
|
||||
services:
|
||||
- name: redis
|
||||
pull: default
|
||||
image: redis:2.8
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: matrix-3
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
pull: default
|
||||
image: golang:1.10
|
||||
commands:
|
||||
- go test -v ./...
|
||||
|
||||
services:
|
||||
- name: redis
|
||||
pull: default
|
||||
image: redis:2.6
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: matrix-4
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
pull: default
|
||||
image: golang:1.10
|
||||
commands:
|
||||
- go test -v ./...
|
||||
|
||||
services:
|
||||
- name: redis
|
||||
pull: default
|
||||
image: redis:2.8
|
||||
|
||||
...
|
Loading…
Reference in New Issue