Add coveralls.io support
This commit is contained in:
parent
f0e5eebe1a
commit
3f8cf7cd58
|
@ -10,6 +10,9 @@ node_js:
|
|||
before_script:
|
||||
- npm install -g gulp
|
||||
|
||||
after_success:
|
||||
- npm run coverage
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[![ci](https://img.shields.io/travis/pegjs/pegjs.svg)](https://travis-ci.org/pegjs/pegjs)
|
||||
[![coverage](https://img.shields.io/coveralls/github/pegjs/pegjs.svg)](https://coveralls.io/github/pegjs/pegjs)
|
||||
[![release](https://img.shields.io/npm/v/pegjs.svg)](https://www.npmjs.com/package/pegjs)
|
||||
[![dev](https://img.shields.io/npm/v/pegjs/dev.svg)](https://github.com/pegjs/pegjs)
|
||||
[![bower](https://img.shields.io/bower/v/pegjs.svg)](https://github.com/pegjs/bower)
|
||||
|
|
|
@ -30,7 +30,8 @@
|
|||
"clean": "gulp clean",
|
||||
"test:impact": "node test/impact",
|
||||
"test:server": "node test/server/run",
|
||||
"test": "nyc gulp"
|
||||
"test": "nyc gulp",
|
||||
"coverage": "nyc report --reporter=text-lcov | coveralls"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-preset-es2015": "6.24.1",
|
||||
|
@ -39,6 +40,7 @@
|
|||
"babelify": "8.0.0",
|
||||
"browserify": "14.5.0",
|
||||
"chai": "4.1.2",
|
||||
"coveralls": "3.0.0",
|
||||
"del": "3.0.0",
|
||||
"eslint-config-futagozaryuu": "3.7.x",
|
||||
"express": "4.16.2",
|
||||
|
@ -66,8 +68,8 @@
|
|||
"**/.eslintrc.js"
|
||||
],
|
||||
"reporter": [
|
||||
"text",
|
||||
"text-summary"
|
||||
"text",
|
||||
"text-summary"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue