Permalink
Browse files

Ignore coverage on travis

  • Loading branch information...
1 parent 98eca86 commit 63cbfe427e238eae5ea0075bdb2aba0bed2814b9 @1602 committed Oct 31, 2012
Showing with 6 additions and 6 deletions.
  1. +2 −4 test/railway_routes_test.js
  2. +4 −2 test/spec_helper.js
@@ -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 = {};
View
@@ -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;

0 comments on commit 63cbfe4

Please sign in to comment.