mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-16 15:20:38 +00:00
82 lines
896 B
Plaintext
82 lines
896 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.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
|
||
|
|
||
|
...
|