From 42d6577878786bc97d0134254bde5c38290c3f14 Mon Sep 17 00:00:00 2001 From: Jay Date: Fri, 5 Jun 2020 14:34:19 +0000 Subject: [PATCH] [feat] add ci config --- .drone.yml | 18 ++++++++++++++++++ README.md | 3 +++ 2 files changed, 21 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..0f8493b --- /dev/null +++ b/.drone.yml @@ -0,0 +1,18 @@ +kind: pipeline +name: test-stable-version + +steps: + - name: test + image: golang:1 + commands: + - go test + +--- +kind: pipeline +name: test-rc-version + +steps: + - name: test + image: golang:rc + commands: + - go test diff --git a/README.md b/README.md index 480e44c..5c08810 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Config Loader +[![Build Status](https://ci.trj.tw/api/badges/golang/config-loader/status.svg)](https://ci.trj.tw/golang/config-loader) + ## Install ``` go get -u git.trj.tw/golang/config-loader @@ -9,6 +11,7 @@ go get -u git.trj.tw/golang/config-loader ### struct tag > default : default value define + > length : use for slice type min default length ### support type