mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-25 03:20:39 +00:00
18 lines
192 B
YAML
18 lines
192 B
YAML
|
---
|
||
|
kind: pipeline
|
||
|
name: linux
|
||
|
|
||
|
steps:
|
||
|
- name: database
|
||
|
image: redis
|
||
|
detach: true
|
||
|
ports:
|
||
|
- port: 6379
|
||
|
host: 6379
|
||
|
|
||
|
- name: test
|
||
|
image: golang
|
||
|
commands:
|
||
|
- go build
|
||
|
- go test
|