drone ci file

This commit is contained in:
Emile 2019-12-01 17:06:14 +01:00
parent b396827c1f
commit 3efacd5453
No known key found for this signature in database
GPG Key ID: 4D8DD313A751DED7

23
.drone.yml Normal file
View File

@ -0,0 +1,23 @@
kind: pipeline
name: default
platform:
os: linux
arch: amd64
steps:
- name: test
image: golang:latest
commands:
- go test -cover -v .
- name: coverage
image: golang:latest
commands:
- go test -coverprofile=cover.out
- go tool cover -func=cover.out
- name: build
image: golang:latest
commands:
- go build .