Skip to content

Commit

Permalink
chore: use only polling on Travis/SL
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtajina committed Aug 23, 2013
1 parent 7909ebe commit c64a985
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions karma-shared.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,11 @@ module.exports = function(config) {
}
}
});


// TODO(vojta): remove once SauceLabs supports websockets.
// This speeds up the capturing a bit, as browsers don't even try to use websocket.
if (process.env.TRAVIS) {
config.transports = ['xhr-polling'];
}
};

0 comments on commit c64a985

Please sign in to comment.