Permalink
Browse files

using latest coveralls.

  • Loading branch information...
1 parent 4325145 commit 472b28a70a50f3ef895fb2481875f78354c679bf @cainus committed Mar 28, 2013
Showing with 6 additions and 5 deletions.
  1. +3 −3 Makefile
  2. +3 −2 package.json
View
@@ -1,5 +1,5 @@
REPORTER = spec
-t:
+test:
echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID)
@NODE_ENV=test ./node_modules/.bin/mocha -b --reporter $(REPORTER)
@@ -11,9 +11,9 @@ test-cov: lib-cov
@PERCOLATOR_COVERAGE=1 $(MAKE) test REPORTER=html-cov 1> coverage.html
rm -rf lib-cov
-test: lib-cov
+test-coveralls: lib-cov
echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID)
- @PERCOLATOR_COVERAGE=1 $(MAKE) t REPORTER=json-cov 2> /dev/null | ./node_modules/coveralls/bin/coveralls.js
+ @PERCOLATOR_COVERAGE=1 $(MAKE) test REPORTER=mocha-lcov-reporter | ./node_modules/coveralls/bin/coveralls.js
rm -rf lib-cov
.PHONY: test
View
@@ -7,7 +7,7 @@
"url": "https://github.com/cainus/percolator/issues"
},
"scripts" : {
- "test" : "make test"
+ "test" : "make test-coveralls"
},
"maintainers": [
{
@@ -26,8 +26,9 @@
"JSV" : "4.0.2"
},
"devDependencies" : {
+ "mocha-lcov-reporter" : "0.0.1",
"jscoverage" : "0.3.6",
- "coveralls": "1.1.0",
+ "coveralls": "2.0.5",
"mockery" : "1.1.2",
"hottap" : "1.0.0",
"mocha" : "1.8.1",

0 comments on commit 472b28a

Please sign in to comment.