diff options
| author | Vojta Jina | 2013-06-25 13:50:45 -0700 | 
|---|---|---|
| committer | Vojta Jina | 2013-06-28 11:43:38 -0700 | 
| commit | 33223e26a0c6e73bddbc112829f35f373f97b10d (patch) | |
| tree | 20305c84130daff5939ee403870cb13d0cb4aaac /karma-shared.conf.js | |
| parent | 976edc1fc4d4c373bcecddd0389fe94dd528eb4e (diff) | |
| download | angular.js-33223e26a0c6e73bddbc112829f35f373f97b10d.tar.bz2 | |
chore: set up Sauce Labs with Travis
This should not affect the Jenkins build at all.
Now, the Travis build uses Chrome on Sauce Labs, which in theory gives us opportunity to use any
browser/platform that Sauce Labs offers.
Diffstat (limited to 'karma-shared.conf.js')
| -rw-r--r-- | karma-shared.conf.js | 16 | 
1 files changed, 15 insertions, 1 deletions
| diff --git a/karma-shared.conf.js b/karma-shared.conf.js index 70be8c97..3157d50f 100644 --- a/karma-shared.conf.js +++ b/karma-shared.conf.js @@ -4,6 +4,20 @@ module.exports = function(config) {      autoWatch: true,      logLevel: config.LOG_INFO,      logColors: true, -    browsers: ['Chrome'] +    browsers: ['Chrome'], + +    // config for Travis CI +    sauceLabs: { +      testName: 'AngularJS', +      startConnect: false, +      tunnelIdentifier: process.env.TRAVIS_JOB_NUMBER +    }, + +    customLaunchers: { +      'SL_Chrome': { +        base: 'SauceLabs', +        browserName: 'chrome' +      } +    }    });  }; | 
