From a966cd5a0c22f9029917fbc4178ed6699e27aea2 Mon Sep 17 00:00:00 2001 From: Tim Kuehn Date: Fri, 12 Feb 2016 10:14:13 -0800 Subject: [PATCH 1/3] Add MIT license badge --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4b28931..d2ae7b3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## tarpc: Tim & Adam's RPC lib -[![Travis-CI -Status](https://travis-ci.org/google/tarpc.png?branch=master)](https://travis-ci.org/google/tarpc) +[![Travis-CI Status](https://travis-ci.org/google/tarpc.png?branch=master)](https://travis-ci.org/google/tarpc) +[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE.txt) *Disclaimer*: This is not an official Google product. From 6480b270fb977439c8ea1cade4168be4c9593d51 Mon Sep 17 00:00:00 2001 From: Tim Kuehn Date: Fri, 12 Feb 2016 10:27:12 -0800 Subject: [PATCH 2/3] Coveralls --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 71f4b9f..d6e67a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,15 @@ language: rust rust: - nightly +before_script: +- | + pip install 'travis-cargo<0.2' --user && + export PATH=$HOME/.local/bin:$PATH + script: - | (cd tarpc && cargo build) && (cd tarpc && cargo test) + +after_success: +- (cd tarpc && travis-cargo coveralls --no-sudo) From 73b5cae1d1301270a57e066293a4ad044a490bdc Mon Sep 17 00:00:00 2001 From: Tim Kuehn Date: Fri, 12 Feb 2016 10:31:36 -0800 Subject: [PATCH 3/3] Coverage badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index d2ae7b3..5ebd076 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ ## tarpc: Tim & Adam's RPC lib [![Travis-CI Status](https://travis-ci.org/google/tarpc.png?branch=master)](https://travis-ci.org/google/tarpc) +[![Coverage Status](https://coveralls.io/repos/github/google/tarpc/badge.svg?branch=master)](https://coveralls.io/github/google/tarpc?branch=master) [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE.txt) *Disclaimer*: This is not an official Google product.