Browse Source

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 năm trước cách đây
mục cha
commit
f0e4548b16
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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
     };
   }