mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-23 02:20:39 +00:00
28 lines
257 B
Plaintext
28 lines
257 B
Plaintext
|
---
|
||
|
kind: pipeline
|
||
|
name: default
|
||
|
|
||
|
platform:
|
||
|
os: linux
|
||
|
arch: amd64
|
||
|
|
||
|
steps:
|
||
|
- name: build
|
||
|
image: golang
|
||
|
commands:
|
||
|
- go build
|
||
|
|
||
|
- name: test
|
||
|
image: golang
|
||
|
commands:
|
||
|
- go build
|
||
|
- go test -v
|
||
|
depends_on:
|
||
|
- build
|
||
|
|
||
|
depends_on:
|
||
|
- foo
|
||
|
- bar
|
||
|
|
||
|
...
|