Permalink
Browse files

Use Codecov instead of Coveralls

  • Loading branch information...
mathiasbynens committed Aug 31, 2015
1 parent 93daf73 commit 67ea3aab0928208649cc267a84aed1202334e136
Showing with 5 additions and 5 deletions.
  1. +1 −1 .travis.yml
  2. +2 −2 Gruntfile.js
  3. +1 −1 README.md
  4. +1 −1 package.json
@@ -19,4 +19,4 @@ before_script:
script:
- "grunt ci"
after_script:
- "grunt shell:cover-coveralls"
- "grunt shell:cover-codecov"
@@ -10,8 +10,8 @@ module.exports = function(grunt) {
'cover-html': {
'command': 'istanbul cover --report "html" --verbose --dir "coverage" "tests/tests.js"'
},
'cover-coveralls': {
'command': 'istanbul cover --verbose --dir "coverage" "tests/tests.js" && cat coverage/lcov.info | coveralls; rm -rf coverage/lcov*'
'cover-codecov': {
'command': 'istanbul cover --verbose --dir "coverage" "tests/tests.js" && codecov < coverage/lcov.info; rm -rf coverage/lcov*'
},
'fetch-entities': {
'command': 'curl https://html.spec.whatwg.org/entities.json | sed "s/ /\t/g" > data/entities.json'
@@ -1,4 +1,4 @@
# he [![Build status](https://travis-ci.org/mathiasbynens/he.svg?branch=master)](https://travis-ci.org/mathiasbynens/he) [![Code coverage status](https://coveralls.io/repos/mathiasbynens/he/badge.svg)](https://coveralls.io/r/mathiasbynens/he) [![Dependency status](https://gemnasium.com/mathiasbynens/he.svg)](https://gemnasium.com/mathiasbynens/he)
# he [![Build status](https://travis-ci.org/mathiasbynens/he.svg?branch=master)](https://travis-ci.org/mathiasbynens/he) [![Code coverage status](https://codecov.io/github/mathiasbynens/he/coverage.svg?branch=master)](https://codecov.io/github/mathiasbynens/he?branch=master) [![Dependency status](https://gemnasium.com/mathiasbynens/he.svg)](https://gemnasium.com/mathiasbynens/he)

_he_ (for “HTML entities”) is a robust HTML entity encoder/decoder written in JavaScript. It supports [all standardized named character references as per HTML](https://html.spec.whatwg.org/multipage/syntax.html#named-character-references), handles [ambiguous ampersands](https://mathiasbynens.be/notes/ambiguous-ampersands) and other edge cases [just like a browser would](https://html.spec.whatwg.org/multipage/syntax.html#tokenizing-character-references), has an extensive test suite, and — contrary to many other JavaScript solutions — _he_ handles astral Unicode symbols just fine. [An online demo is available.](https://mothereff.in/html-entities)

@@ -39,7 +39,7 @@
"test": "node tests/tests.js"
},
"devDependencies": {
"coveralls": "^2.11.2",
"codecov.io": "^0.1.6",
"grunt": "^0.4.5",
"grunt-shell": "^1.1.1",
"grunt-template": "^0.2.3",

0 comments on commit 67ea3aa

Please sign in to comment.