From 9affef4cd753449e49bdcd995d3aad255347a8c2 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Mon, 18 Nov 2019 16:03:18 +0100 Subject: [PATCH] add ci support --- .drone.yml | 11 +++++++++++ README.md | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..ee647d8 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,11 @@ +--- +kind: pipeline +type: docker +name: default + +steps: +- name: test + image: golang:1.13 + commands: + - go get ./... + - go test -v -race -cover -coverprofile ./coverage.out ./... \ No newline at end of file diff --git a/README.md b/README.md index 20ff048..ce29f35 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Go Report Card](https://goreportcard.com/badge/git.xdrm.io/go/aicra)](https://goreportcard.com/report/git.xdrm.io/go/aicra) [![Go doc](https://godoc.org/git.xdrm.io/go/aicra?status.svg)](https://godoc.org/git.xdrm.io/go/aicra) -[![Build Status](https://ci.migration.xdrm.io/buildStatus/icon?job=aicra%2F0.2.0)](.) +[![Build Status](https://drone.xdrm.io/api/badges/go/clifmt/status.svg)](https://drone.xdrm.io/go/clifmt) **Aicra** is a *configuration-driven* **web framework** written in Go that allows you to create a fully featured REST API.