From 9fd2d1e8cd05b32c50e9812e2a59ad597ce22e68 Mon Sep 17 00:00:00 2001 From: David Paz Date: Wed, 21 Jun 2017 10:45:27 +0200 Subject: [PATCH 1/3] added codeCov integration --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 24e7a54..6e1f71b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,8 @@ install: - cd $GOPATH/src/gopkg.in/src-d/enry.v1 - go get -v -t ./... - script: - - make test \ No newline at end of file + - make test + +after_success: + - bash <(curl -s https://codecov.io/bash) From 69bbec1851128ffa839ee5e25b2471d7431c3faf Mon Sep 17 00:00:00 2001 From: David Paz Date: Wed, 21 Jun 2017 10:50:55 +0200 Subject: [PATCH 2/3] Added codeCov Badge to the readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 598efe0..fdcfb52 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# enry [![GoDoc](https://godoc.org/gopkg.in/src-d/enry.v1?status.svg)](https://godoc.org/gopkg.in/src-d/enry.v1) [![Build Status](https://travis-ci.org/src-d/enry.svg?branch=master)](https://travis-ci.org/src-d/simple-linguist) +# enry [![GoDoc](https://godoc.org/gopkg.in/src-d/enry.v1?status.svg)](https://godoc.org/gopkg.in/src-d/enry.v1) [![Build Status](https://travis-ci.org/src-d/enry.svg?branch=master)](https://travis-ci.org/src-d/simple-linguist) [![codecov](https://codecov.io/gh/src-d/enry/branch/master/graph/badge.svg)](https://codecov.io/gh/src-d/enry) File programming language detector and toolbox to ignore binary or vendored files. *enry*, started as a port to _Go_ of the original [linguist](https://github.com/github/linguist) _Ruby_ library, that has an improved *performance of 100x*. From c5b49c57d22442e2356535fc014e268e08d6cc0e Mon Sep 17 00:00:00 2001 From: David Paz Date: Wed, 21 Jun 2017 11:02:33 +0200 Subject: [PATCH 3/3] Updated travis url --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fdcfb52..b738bc1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# enry [![GoDoc](https://godoc.org/gopkg.in/src-d/enry.v1?status.svg)](https://godoc.org/gopkg.in/src-d/enry.v1) [![Build Status](https://travis-ci.org/src-d/enry.svg?branch=master)](https://travis-ci.org/src-d/simple-linguist) [![codecov](https://codecov.io/gh/src-d/enry/branch/master/graph/badge.svg)](https://codecov.io/gh/src-d/enry) +# enry [![GoDoc](https://godoc.org/gopkg.in/src-d/enry.v1?status.svg)](https://godoc.org/gopkg.in/src-d/enry.v1) [![Build Status](https://travis-ci.org/src-d/enry.svg?branch=master)](https://travis-ci.org/src-d/enry) [![codecov](https://codecov.io/gh/src-d/enry/branch/master/graph/badge.svg)](https://codecov.io/gh/src-d/enry) File programming language detector and toolbox to ignore binary or vendored files. *enry*, started as a port to _Go_ of the original [linguist](https://github.com/github/linguist) _Ruby_ library, that has an improved *performance of 100x*.