Commit af8c7ced authored by kosheo's avatar kosheo

Update Travis and Karma configs for Coveralls support

parent 845102bf
......@@ -6,6 +6,7 @@ addons:
chrome: "stable"
install:
- npm install
- npm install coveralls
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
......@@ -13,3 +14,5 @@ script:
- npm run-script dist
- npm run-script lint
- npm test
after_script:
- "cat coverage/Firefox*/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
......@@ -16,6 +16,11 @@ module.exports = function (config)
exclude: [],
preprocessors: { 'js/**/*.js': 'coverage'},
reporters: [ 'progress', 'coverage' ],
coverageReporter:
{
type: 'lcov',
dir: 'coverage'
},
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment