From 9a77d030471939464cd8ee1fb4b1af0a3532d799 Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Fri, 28 Jun 2013 16:36:30 -0700 Subject: 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.--- karma-shared.conf.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'karma-shared.conf.js') 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' + } + } }); }; -- cgit v1.2.3