Skip to content

Commit

Permalink
Added coverage shield
Browse files Browse the repository at this point in the history
  • Loading branch information
michael.gloger committed Jun 21, 2016
1 parent a435837 commit 448d280
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
language: node_js
node_js:
- 4.2.0
- 4.2.0
script: "npm run test-lcov"
after_script: "npm install coveralls && cat ./coverage/lcov.info | coveralls"
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ A Framework for creating Amazon Echo (Alexa) skills using Node.js

[![NPM Version][npm-image]][npm-url]
[![Build Status][travis-image]][travis-url]
[![Coverage Status][coveralls-image]][coveralls-url]

```javascript
const alexia = require('alexia');
Expand Down Expand Up @@ -345,3 +346,5 @@ For more information refer to general guide [Contributing to Open Source](https:
[npm-url]: https://npmjs.org/package/alexia
[travis-image]: https://img.shields.io/travis/Accenture/alexia/master.svg
[travis-url]: https://travis-ci.org/Accenture/alexia
[coveralls-image]: https://coveralls.io/repos/github/Accenture/alexia/badge.svg?branch=master
[coveralls-url]: https://coveralls.io/github/Accenture/alexia?branch=master
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"test": "istanbul cover node_modules/mocha/bin/_mocha -- -u exports --reporter spec",
"test-lcov": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --reporter spec",
"test:dev": "nodemon --exec \"mocha || true\""
},
"dependencies": {
Expand Down

0 comments on commit 448d280

Please sign in to comment.