From 20410fe4389b9e328f440c41a27c129a37298e3e Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Mon, 18 Nov 2019 15:58:54 +0100 Subject: [PATCH] add ci + go module support --- .drone.yml | 11 +++++++++++ go.mod | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 .drone.yml create mode 100644 go.mod 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/go.mod b/go.mod new file mode 100644 index 0000000..a108373 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module git.xdrm.io/go/clifmt + +go 1.12