From https://docs.travis-ci.com/user/encryption-keys/ :

"Please note that encrypted environment variables are not available for pull requests from forks."

Also, from https://docs.travis-ci.com/user/pull-requests#Security-Restrictions-when-testing-Pull-Requests :

"If your build relies on these to run, for instance to run Selenium tests with Sauce Labs, your build needs to take this into account. You won’t be able to run these tests for pull requests from external contributors."

karma.conf.js
'SAUCE_IOS',
      'SAUCE_ANDROID'
    ];
    options.forEach(function (opt) {
      if (process.env[opt]) {
        runAll = false;
      }
    });
    
    if (runAll || process.env.SAUCE_CHROME) {
      customLaunchers.SL_Chrome = createCustomLauncher('chrome');
      
      
    }
    
    if (runAll || process.env.SAUCE_FIREFOX) {
      customLaunchers.SL_Firefox = createCustomLauncher('firefox');
      
      
    }
    
    if (runAll || process.env.SAUCE_SAFARI) {
      
      
      customLaunchers.SL_Safari9 = createCustomLauncher('safari', 9);
    }
    
    if (runAll || process.env.SAUCE_OPERA) {