Skip to content

Commit

Permalink
configuring codeclimate coverage integration
Browse files Browse the repository at this point in the history
  • Loading branch information
arboleya committed Apr 16, 2015
1 parent 9d12473 commit b931e38
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ COVERALLS=node_modules/.bin/coveralls
ISTANBUL=node_modules/.bin/istanbul
BOWER=node_modules/.bin/bower
SPACEJAM=node_modules/.bin/spacejam
CODECLIMATE=node_modules/.bin/codeclimate

################################################################################
# variables
Expand Down Expand Up @@ -43,6 +44,7 @@ test.coverage.preview: test.coverage

# test code in nodejs, generates coverage and send it to coveralls
test.coverage.coveralls: test.coverage
@$(CODECLIMATE) < coverage/lcov.info
@cat coverage/lcov.info | $(COVERALLS)

################################################################################
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"version": "0.6.0",
"author": "Anderson Arboleya <anderson@arboleya.me>",
"description": "Super simple and tiny javascript event system",
"keywords": ["event"],
"keywords": [
"event"
],
"main": "index.js",
"scripts": {
"test": "make test"
Expand All @@ -22,6 +24,7 @@
"devDependencies": {
"bower": "^1.4.1",
"chai": "2.2.x",
"codeclimate-test-reporter": "0.0.4",
"coveralls": "2.11.x",
"istanbul": "0.3.x",
"mocha": "2.2.x",
Expand Down

0 comments on commit b931e38

Please sign in to comment.