Permalink
Browse files

Set up Coveralls

  • Loading branch information...
mathiasbynens committed Jul 15, 2014
1 parent c2c8570 commit 0c77f924b06859ea41fdc86c77c01e06bc8ebc9d
Showing with 9 additions and 3 deletions.
  1. +3 −1 .travis.yml
  2. +1 −1 README.md
  3. +5 −1 package.json
@@ -2,4 +2,6 @@ language: node_js
node_js:
- "0.10"
script:
"node tests/tests.js"
- "npm test"
after_script:
- "npm run-script coveralls"
@@ -1,4 +1,4 @@
# ES6 `String.fromCodePoint` polyfill [![Build status](https://travis-ci.org/mathiasbynens/String.fromCodePoint.svg?branch=master)](https://travis-ci.org/mathiasbynens/String.fromCodePoint)
# ES6 `String.fromCodePoint` polyfill [![Build status](https://travis-ci.org/mathiasbynens/String.fromCodePoint.svg?branch=master)](https://travis-ci.org/mathiasbynens/String.fromCodePoint) [![Code coverage status](http://img.shields.io/coveralls/mathiasbynens/String.fromCodePoint/master.svg)](https://coveralls.io/r/mathiasbynens/String.fromCodePoint)

An robust & optimized ES3-compatible polyfill for [the `String.fromCodePoint` method in ECMAScript 6](http://people.mozilla.org/~jorendorff/es6-draft.html#sec-string.fromcodepoint).

@@ -35,8 +35,12 @@
"directories": {
"test": "tests"
},
"devDependencies": {
"coveralls": "^2.11.1"
},
"scripts": {
"test": "node tests/tests.js",
"cover": "istanbul cover --report html --verbose --dir coverage tests/tests.js"
"cover": "istanbul cover --report html --verbose --dir coverage tests/tests.js",
"coveralls": "istanbul cover --verbose --dir coverage tests/tests.js && cat coverage/lcov.info | coveralls; rm -rf coverage/lcov*"
}
}

0 comments on commit 0c77f92

Please sign in to comment.