aboutsummaryrefslogtreecommitdiffstats
path: root/karma-shared.conf.js
diff options
context:
space:
mode:
authorVojta Jina2013-12-03 12:15:36 -0800
committerVojta Jina2013-12-03 15:49:19 -0800
commit6127528b5008a507966c7f1a1030db27ca2fbc0b (patch)
tree2075f8e578de4329da164c4909e62d87a9fa9f7e /karma-shared.conf.js
parent041057232206e07164ed0aa4ecb9abe0f3fc23f4 (diff)
downloadangular.js-6127528b5008a507966c7f1a1030db27ca2fbc0b.tar.bz2
chore(travis): switch back to SauceLabs
I think we are pretty close to be able to use both. The xhr-polling seems to be pretty stable, but I'm having problems with multiple SSH tunnels (on BS), so let's try to switch back to SL.
Diffstat (limited to 'karma-shared.conf.js')
-rw-r--r--karma-shared.conf.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/karma-shared.conf.js b/karma-shared.conf.js
index 854a18d5..76fd1caf 100644
--- a/karma-shared.conf.js
+++ b/karma-shared.conf.js
@@ -122,6 +122,10 @@ module.exports = function(config, specificOptions) {
config.transports = ['websocket', 'xhr-polling'];
config.browserStack.build = 'TRAVIS #' + process.env.TRAVIS_BUILD_NUMBER + ' (' + process.env.TRAVIS_BUILD_ID + ')';
+ // TODO(vojta): remove once SauceLabs supports websockets.
+ // This speeds up the capturing a bit, as browsers don't even try to use websocket.
+ config.transports = ['xhr-polling'];
+
// Debug logging into a file, that we print out at the end of the build.
config.loggers.push({
type: 'file',