Skip to content

Commit

Permalink
Code coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
aholstenson committed Jan 30, 2017
1 parent 77f3625 commit 263fcb2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
coverage
npm-debug.log
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
language: node_js
node_js:
- "6"
script: "npm run-script coverage"
after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "Natural language handling for commands and intents",
"main": "index.js",
"scripts": {
"test": "node_modules/.bin/mocha test/*.test.js && node_modules/.bin/eslint *.js language/*.js resolver/*.js values/*.js"
"test": "node_modules/.bin/mocha test/*.test.js && node_modules/.bin/eslint *.js language/*.js resolver/*.js values/*.js",
"coverage": "node_modules/istanbul/lib/cli.js cover node_modules/mocha/bin/_mocha -- -R spec ./test/*.test.js"
},
"license": "MIT",
"repository": "aholstenson/ecolect-js",
Expand All @@ -30,8 +31,10 @@
"chai-as-promised": "^6.0.0",
"chalk": "^1.1.3",
"cli-autocomplete": "^0.4.0",
"coveralls": "^2.11.15",
"eslint": "^3.13.0",
"eslint-plugin-node": "^3.0.5",
"istanbul": "^0.4.5",
"mocha": "^3.2.0",
"regenerate": "^1.3.2",
"unicode-9.0.0": "^0.7.0"
Expand Down

0 comments on commit 263fcb2

Please sign in to comment.