Skip to content

Commit

Permalink
Ignore coverage on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
1602 committed Oct 31, 2012
1 parent 98eca86 commit 63cbfe4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 2 additions & 4 deletions test/railway_routes_test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
if (!process.env.TRAVIS) {
require('./spec_helper').init(module.exports);
var routes = require('../lib/railway_routes');
}
require('./spec_helper').init(module.exports);
var routes = require('../lib/railway_routes');

function fakeApp(container) {
var app = {};
Expand Down
6 changes: 4 additions & 2 deletions test/spec_helper.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
require('semicov').init('lib', 'Railway Routes'); // 'lib' is name of dir with code
process.on('exit', require('semicov').report);
if (!process.env.TRAVIS) {
require('semicov').init('lib', 'Railway Routes'); // 'lib' is name of dir with code
process.on('exit', require('semicov').report);
}

var group_name = false, EXT_EXP;

Expand Down

0 comments on commit 63cbfe4

Please sign in to comment.