Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Commit

Permalink
add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
小傅Fox committed Jun 12, 2017
1 parent ed290e8 commit fc43c49
Show file tree
Hide file tree
Showing 4 changed files with 615 additions and 12 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ node_js:
script: yarn test
before_install: yarn global add greenkeeper-lockfile@1
before_script: greenkeeper-lockfile-update
after_script: greenkeeper-lockfile-upload
after_script:
- greenkeeper-lockfile-upload
- istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ config-file-bi

[![Greenkeeper badge](https://badges.greenkeeper.io/coderfox/config-file-bi.svg)](https://greenkeeper.io/)

[![Build Status](https://travis-ci.org/coderfox/config-file-bi.svg?branch=master)](https://travis-ci.org/coderfox/config-file-bi)
[![Build Status](https://img.shields.io/travis/coderfox/config-file-bi.svg)](https://travis-ci.org/coderfox/config-file-bi)

R/W config file management.

Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@
"@types/chai": "^4.0.0",
"@types/mocha": "^2.2.41",
"chai": "^4.0.2",
"coveralls": "^2.13.1",
"cz-conventional-changelog": "^2.0.0",
"mocha": "^3.4.2"
"istanbul": "^0.4.5",
"mocha": "^3.4.2",
"mocha-lcov-reporter": "^1.3.0"
},
"config": {
"commitizen": {
Expand All @@ -45,4 +48,4 @@
"greenkeeper": {
"ignore": []
}
}
}
Loading

0 comments on commit fc43c49

Please sign in to comment.