From c45f5c32625760e4e5a40af78a64da57e6bfb0e8 Mon Sep 17 00:00:00 2001 From: Leandro Moreira Date: Fri, 27 Nov 2015 15:32:37 -0200 Subject: [PATCH] updates travis to send data to coverall --- .travis.yml | 2 +- karma.conf.js | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 19f3f301b..1ec19e22b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,4 +16,4 @@ notifications: - videos5@corp.globo.com slack: globo:F1iVlyrzR4iX8OS7h8fwMcqx -after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js" +after_script: "cat coverage/C*/lcov.info | ./node_modules/coveralls/bin/coveralls.js" diff --git a/karma.conf.js b/karma.conf.js index 533818fdd..599a0f669 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -45,7 +45,8 @@ module.exports = function(config) { reporters: [ {type: 'lcovonly'}, {type: 'text-summary'} - ] + ], + dir: 'coverage' }, plugins: [ require('karma-webpack'), @@ -102,4 +103,4 @@ module.exports = function(config) { // if true, Karma captures browsers, runs the tests and exits singleRun: false }); -}; \ No newline at end of file +};