diff --git a/.travis.yml b/.travis.yml index f81f0ac..5fe8338 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,4 +6,6 @@ install: - npm install - bower install script: -- npm run travis \ No newline at end of file +- npm run travis +after_script: +- cat ./tests/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js diff --git a/README.md b/README.md index a28a4f3..b008550 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # ReactFire [![Build Status](https://travis-ci.org/firebase/reactfire.svg?branch=master)](https://travis-ci.org/firebase/reactfire) +[![Coverage Status](https://img.shields.io/coveralls/firebase/reactfire.svg)](https://coveralls.io/r/firebase/reactfire) [![GitHub version](https://badge.fury.io/gh/firebase%2Freactfire.svg)](http://badge.fury.io/gh/firebase%2Freactfire) [ReactJS](http://facebook.github.io/react/) is a framework for building large, complex user diff --git a/package.json b/package.json index 3c27fd0..823f802 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "react": "^0.11.1" }, "devDependencies": { + "coveralls": "^2.11.1", "gulp": "^3.8.7", "gulp-concat": "^2.2.0", "gulp-jshint": "^1.5.1",