Switch test coverage reporting off for travis

This commit is contained in:
Anatoliy Chakkaev 2012-10-14 17:04:24 +04:00
parent f6d8b08631
commit da9ff3e1e8
1 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,8 @@
if (!process.env.TRAVIS) {
var semicov = require('semicov'); var semicov = require('semicov');
semicov.init('lib'); semicov.init('lib');
process.on('exit', semicov.report); process.on('exit', semicov.report);
}
try { try {
global.sinon = require('sinon'); global.sinon = require('sinon');