Skip to content

Commit

Permalink
Add coveralls support
Browse files Browse the repository at this point in the history
  • Loading branch information
pfleidi committed Jan 3, 2016
1 parent e969c2d commit fc8ea70
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ before_script:
- npm install -g gulp
script:
- npm test
after_script:
- "test -e ./coverage/lcov/lcov.info && cat ./coverage/lcov//lcov.info | coveralls"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Podslurp

[![Build Status](https://travis-ci.org/pfleidi/podslurp.svg?branch=master)](https://travis-ci.org/pfleidi/podslurp)
[![Coverage Status](https://coveralls.io/repos/pfleidi/podslurp/badge.svg?branch=master&service=github)](https://coveralls.io/github/pfleidi/podslurp?branch=master)

Podslurp is an HTTP download server with a minimal JSON API for download statistics.

Expand Down
5 changes: 3 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ const istanbul = require('gulp-istanbul');

var istanbulSettings = {
dir: 'coverage',
reporters: ['html', 'text', 'text-summary'],
reporters: ['lcovonly', 'html', 'text', 'text-summary'],
reportOpts: {
html: { dir: 'coverage/html' }
html: { dir: 'coverage/html' },
lcovonly: { dir: 'coverage/lcov' }
}
};

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"yargs": "^3.31.0"
},
"devDependencies": {
"coveralls": "^2.11.6",
"gulp": "^3.9.0",
"gulp-eslint": "^1.1.1",
"gulp-istanbul": "^0.10.3",
Expand Down

0 comments on commit fc8ea70

Please sign in to comment.