Skip to content

Commit

Permalink
Merge pull request #368 from bruderstein/add-coveralls-badge
Browse files Browse the repository at this point in the history
Add coveralls badge
  • Loading branch information
JedWatson committed Aug 9, 2015
2 parents 2c3a84c + 97faa97 commit 1960e6f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
service-name: travis-ci
repo_token: itdMRdBNgDK8Gb5nIA63zVMEryaxTQxkR
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ node_js:
- "0.11"
- "0.12"
- "iojs-v2.5.0"
before_script:
- npm install
script:
- npm run coveralls
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[![Build Status](https://travis-ci.org/JedWatson/react-select.svg?branch=master)](https://travis-ci.org/JedWatson/react-select)
[![Coverage Status](https://coveralls.io/repos/JedWatson/react-select/badge.svg?branch=master&service=github)](https://coveralls.io/github/JedWatson/react-select?branch=master)

React-Select
============

Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"babel": "^5.6.14",
"babel-eslint": "^3.1.23",
"chai": "^3.0.0",
"coveralls": "^2.11.3",
"eslint": "^0.24.1",
"eslint-plugin-react": "^2.7.0",
"gulp": "^3.9.0",
Expand Down Expand Up @@ -45,6 +46,7 @@
"bump:major": "gulp bump:major",
"bump:minor": "gulp bump:minor",
"cover": "istanbul cover node_modules/.bin/_mocha -- -u exports --compilers js:babel/register -R spec",
"coveralls": "NODE_ENV=test ./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --compilers js:babel/register -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"examples": "gulp dev:server",
"lint": "eslint .",
"publish:examples": "gulp publish:examples",
Expand Down

0 comments on commit 1960e6f

Please sign in to comment.