updated log message
This commit is contained in:
parent
6635265f4b
commit
69eba08b27
4
dist/npmts.tests.js
vendored
4
dist/npmts.tests.js
vendored
@ -4,11 +4,11 @@ var plugins = require("./npmts.plugins");
|
|||||||
var paths = require("./npmts.paths");
|
var paths = require("./npmts.paths");
|
||||||
exports.publishCoverage = function (configArg) {
|
exports.publishCoverage = function (configArg) {
|
||||||
var done = plugins.Q.defer();
|
var done = plugins.Q.defer();
|
||||||
plugins.beautylog.log("now uploading coverage data to coveralls");
|
plugins.beautylog.log("now uploading coverage data to codecov.io");
|
||||||
var stream = plugins.gulp.src([plugins.path.join(paths.cwd, "./coverage/lcov.info")])
|
var stream = plugins.gulp.src([plugins.path.join(paths.cwd, "./coverage/lcov.info")])
|
||||||
.pipe(plugins.g.codecov())
|
.pipe(plugins.g.codecov())
|
||||||
.pipe(plugins.g.gFunction(function () {
|
.pipe(plugins.g.gFunction(function () {
|
||||||
plugins.beautylog.ok("Coverage data has been uploaded to Coveralls!");
|
plugins.beautylog.ok("Coverage data has been uploaded to codecov.io!");
|
||||||
done.resolve(configArg);
|
done.resolve(configArg);
|
||||||
}, "atEnd"));
|
}, "atEnd"));
|
||||||
return done.promise;
|
return done.promise;
|
||||||
|
@ -4,11 +4,11 @@ import paths = require("./npmts.paths");
|
|||||||
|
|
||||||
export let publishCoverage = function(configArg){
|
export let publishCoverage = function(configArg){
|
||||||
let done = plugins.Q.defer();
|
let done = plugins.Q.defer();
|
||||||
plugins.beautylog.log("now uploading coverage data to coveralls");
|
plugins.beautylog.log("now uploading coverage data to codecov.io");
|
||||||
var stream = plugins.gulp.src([plugins.path.join(paths.cwd,"./coverage/lcov.info")])
|
var stream = plugins.gulp.src([plugins.path.join(paths.cwd,"./coverage/lcov.info")])
|
||||||
.pipe(plugins.g.codecov())
|
.pipe(plugins.g.codecov())
|
||||||
.pipe(plugins.g.gFunction(function(){
|
.pipe(plugins.g.gFunction(function(){
|
||||||
plugins.beautylog.ok("Coverage data has been uploaded to Coveralls!");
|
plugins.beautylog.ok("Coverage data has been uploaded to codecov.io!");
|
||||||
done.resolve(configArg);
|
done.resolve(configArg);
|
||||||
},"atEnd"));
|
},"atEnd"));
|
||||||
return done.promise;
|
return done.promise;
|
||||||
|
Loading…
Reference in New Issue
Block a user