From 277d98265ea5cdc8f7e073ded70f7d64c1e133f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E5=B0=8F=E5=86=9B?= <346944475@qq.com> Date: Tue, 31 Dec 2019 15:13:19 +0800 Subject: [PATCH] add tag to identify the code quality --- .travis.yml | 6 ++++++ README.md | 4 +++- README_zh_cn.md | 2 ++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..06704c3 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,6 @@ +language: go +go: + - 1.11.x + - 1.12.x + - 1.13.x + - master \ No newline at end of file diff --git a/README.md b/README.md index b3cb460..72d1cfa 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ - +[![Build Status](https://travis-ci.org/xxjwxc/gormt.svg?branch=master)](https://travis-ci.org/xxjwxc/gormt) +[![Go Report Card](https://goreportcard.com/badge/github.com/xxjwxc/gormt)](https://goreportcard.com/report/github.com/xxjwxc/gormt) + # [gormt](https://github.com/xxjwxc/gormt) ## [中文文档](README_zh_cn.md) diff --git a/README_zh_cn.md b/README_zh_cn.md index e7583ff..ba8e473 100644 --- a/README_zh_cn.md +++ b/README_zh_cn.md @@ -1,3 +1,5 @@ +[![Build Status](https://travis-ci.org/xxjwxc/gormt.svg?branch=master)](https://travis-ci.org/xxjwxc/gormt) +[![Go Report Card](https://goreportcard.com/badge/github.com/xxjwxc/gormt)](https://goreportcard.com/report/github.com/xxjwxc/gormt) # [gorm-tools](https://github.com/xxjwxc/gormt)