Преглед на файлове

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) {
   if (useSauce) {
+    my_conf.captureTimeout = 0; // use SL timeout
     my_conf.sauceLabs = {
     my_conf.sauceLabs = {
       testName: 'noVNC Tests (all)',
       testName: 'noVNC Tests (all)',
       startConnect: true,
       startConnect: true,
+      tunnelIdentifier: process.env.TRAVIS_JOB_NUMBER
     };
     };
   }
   }