mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-18 08:00:40 +00:00
27 lines
251 B
Plaintext
27 lines
251 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
|
||
|
|
||
|
node:
|
||
|
disk: ssd
|
||
|
|
||
|
...
|