mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-14 14:30:40 +00:00
22 lines
236 B
YAML
22 lines
236 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
|
||
|
host:
|
||
|
path: /any/path/it/will/be/replaced
|