mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-24 02:50:40 +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
|