Skip to content

Commit

Permalink
Add support for Coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperisager committed Jan 19, 2014
1 parent c1b6dfc commit 764c451
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
service_name: travis-ci
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ node_modules
npm-debug.log


############################
############################
# tmp, editor & OS files
############################
############################
.tmp
*.swo
*.swp
Expand All @@ -23,4 +23,5 @@ nbproject
############################
# Tests
############################
testApp
testApp
coverage
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"sails": "./bin/sails.js"
},
"scripts": {
"test": "mocha"
"test": "istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls"
},
"directories": {
"lib": "lib"
Expand Down Expand Up @@ -64,7 +64,9 @@
"devDependencies": {
"mocha": "*",
"request": "*",
"wrench": "~1.5.1"
"wrench": "~1.5.1",
"istanbul": "~0.2.3",
"coveralls": "~2.6.1"
},
"optionalDependencies": {
"coffee-script": "1.6.2"
Expand Down

0 comments on commit 764c451

Please sign in to comment.