mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-05 11:00:43 +00:00
21 lines
199 B
YAML
21 lines
199 B
YAML
|
---
|
||
|
kind: pipeline
|
||
|
name: linux
|
||
|
|
||
|
steps:
|
||
|
- name: test
|
||
|
image: golang
|
||
|
commands:
|
||
|
- go build
|
||
|
- go test
|
||
|
|
||
|
services:
|
||
|
- name: database
|
||
|
image: redis
|
||
|
ports:
|
||
|
- 6379
|
||
|
|
||
|
volumes:
|
||
|
- name: vol
|
||
|
temp: {}
|