From 991d01e2f665994da7cf04d1826c6bc40316ed9e Mon Sep 17 00:00:00 2001 From: Henri Koski Date: Fri, 12 Jul 2019 02:20:33 +0300 Subject: [PATCH] Build on tag push --- .travis.yml | 4 +++- README.md | 7 ++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 95bd7c7..4b18efb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,11 @@ language: go -# Build branches only when merging to master +go: 1.12 + branches: only: - master + - /^v.*$/ before_install: - env GO111MODULE=off go get github.com/mattn/goveralls diff --git a/README.md b/README.md index 417590b..a224826 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ -# go-review +[![GoDoc](https://godoc.org/github.com/heppu/go-review?status.svg)](https://godoc.org/github.com/heppu/go-review) +[![Build Status](https://travis-ci.com/heppu/go-review.svg?branch=master)](https://travis-ci.com/heppu/go-review) +[![Coverage Status](https://coveralls.io/repos/github/heppu/go-review/badge.svg?branch=master)](https://coveralls.io/github/heppu/go-review?branch=master) +[![Go Report Card](https://goreportcard.com/badge/github.com/heppu/go-review)](https://goreportcard.com/report/github.com/heppu/go-review) + +# Go Review Publish reports from different Go linters as gerrit reviews