mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-01 01:00:41 +00:00
22 lines
215 B
YAML
22 lines
215 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:
|
||
|
medium: memory
|