[Pkg-javascript-commits] [node-coveralls] 36/332: fixed coverage reporting?
Bastien Roucariès
rouca at moszumanska.debian.org
Thu Nov 9 13:53:37 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-coveralls.
commit a04d30f7473e93c6390f99090caf5d8a27213dc2
Author: cainus <gregg at caines.ca>
Date: Wed May 29 15:44:19 2013 -0700
fixed coverage reporting?
---
Makefile | 2 +-
lib/convertLcovToCoveralls.js | 1 +
lib/handleInput.js | 2 ++
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 4949c53..15afcf9 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ test-cov: lib-cov
test-coveralls:lib-cov
$(MAKE) test REPORTER=spec
echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID)
- @COVERALLS_COVERAGE=1 $(MAKE) test REPORTERPORTER=mocha-lcov-reporter | ./bin/coveralls.js
+ @COVERALLS_COVERAGE=1 $(MAKE) test REPORTER=mocha-lcov-reporter | ./bin/coveralls.js
rm -rf lib-cov
.PHONY: test
diff --git a/lib/convertLcovToCoveralls.js b/lib/convertLcovToCoveralls.js
index 00aa437..4657f10 100644
--- a/lib/convertLcovToCoveralls.js
+++ b/lib/convertLcovToCoveralls.js
@@ -33,6 +33,7 @@ var convertLcovToCoveralls = function(input, filepath, repo_token, cb){
lcovParse(input, function(err, parsed){
if (err){
console.log("error from lcovParse: ", err);
+ console.log("input: ", input);
return cb(err);
}
var postJson = {
diff --git a/lib/handleInput.js b/lib/handleInput.js
index 6a8168a..d081e94 100644
--- a/lib/handleInput.js
+++ b/lib/handleInput.js
@@ -24,8 +24,10 @@ var handleInput = function(input){
convertLcovToCoveralls(input, libDir, repo_token, function(err, postData){
if (err){
+ console.log("error from convertLcovToCoveralls");
throw err;
}
+ console.log("sending this to coveralls.io: ", postData);
sendToCoveralls(postData, function(err, response, body){
if (err){
throw err;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-coveralls.git
More information about the Pkg-javascript-commits
mailing list