瀏覽代碼

Fix Travis Sauce Tunnel Issues

Travis is failing because Sauce can't find the appropriate tunnelid.
This should fix that but setting the tunnel id to be the Travis
job number.
Solly Ross 11 年之前
父節點
當前提交
f0e4548b16
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      karma.conf.js

+ 2 - 0
karma.conf.js

@@ -182,9 +182,11 @@ module.exports = function(config) {
   };
 
   if (useSauce) {
+    my_conf.captureTimeout = 0; // use SL timeout
     my_conf.sauceLabs = {
       testName: 'noVNC Tests (all)',
       startConnect: true,
+      tunnelIdentifier: process.env.TRAVIS_JOB_NUMBER
     };
   }