mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-26 20:10:34 +00:00
62 lines
672 B
Plaintext
62 lines
672 B
Plaintext
|
---
|
||
|
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
|
||
|
|
||
|
...
|