Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
videojs-contrib-hls
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
83472e3c
authored
2014-04-28 13:48:46 -0400
by
Gary Katsevman
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
more browsers on saucelabs
1 parent
21c86c7d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
53 deletions
test/karma.conf.js
test/karma.conf.js
View file @
83472e3
...
...
@@ -5,6 +5,43 @@
// 3. Run your tests
module
.
exports
=
function
(
config
)
{
var
customLaunchers
=
{
chrome_sl
:
{
singleRun
:
true
,
base
:
'SauceLabs'
,
browserName
:
'chrome'
,
platform
:
'Windows XP'
},
firefox_sl
:
{
singleRun
:
true
,
base
:
'SauceLabs'
,
browserName
:
'firefox'
,
platform
:
'Windows 8'
},
safari_sl
:
{
singleRun
:
true
,
base
:
'SauceLabs'
,
browserName
:
'safari'
,
platform
:
'OS X 10.8'
},
ipad_sl
:
{
singleRun
:
true
,
base
:
'SauceLabs'
,
browserName
:
'ipad'
,
platform
:
'OS X 10.8'
},
android_sl
:
{
singleRun
:
true
,
base
:
'SauceLabs'
,
browserName
:
'android'
,
platform
:
'Linux'
}
};
config
.
set
({
// base path, that will be used to resolve files and exclude
basePath
:
''
,
...
...
@@ -17,6 +54,10 @@ module.exports = function(config) {
// Setting singleRun to true here will start up your specified browsers, run tests, and then shut down the browsers. Helpful to have in a CI environment, where you don't want to leave browsers running continuously.
singleRun
:
true
,
// custom launchers for sauce labs
//define SL browsers
customLaunchers
:
customLaunchers
// Start these browsers, currently available:
// - Chrome
// - ChromeCanary
...
...
@@ -26,11 +67,7 @@ module.exports = function(config) {
// - PhantomJS
// - IE (only Windows)
// Example usage:
browsers
:
[
'chrome_test'
],
//'firefox_test',
//'safari_test',
//'ipad_test',
//'android_test'
browsers
:
Object
.
keys
(
customLaunchers
),
// List of files / patterns to load in the browser
// Add any new src files to this list.
...
...
@@ -72,16 +109,9 @@ module.exports = function(config) {
'karma-sauce-launcher'
],
// list of files to exclude
exclude
:
[
],
// test results reporter to use
// possible values: 'dots', 'progress', 'junit'
reporters
:
[
'progress'
],
reporters
:
[
'dots'
,
'progress'
],
// web server port
port
:
9876
,
...
...
@@ -106,46 +136,6 @@ module.exports = function(config) {
build
:
process
.
env
.
TRAVIS_BUILD_NUMBER
,
testName
:
process
.
env
.
TRAVIS_BUILD_NUMBER
+
process
.
env
.
TRAVIS_BRANCH
,
recordScreenshots
:
false
},
//define SL browsers
customLaunchers
:
{
chrome_test
:
{
singleRun
:
true
,
base
:
'SauceLabs'
,
browserName
:
'chrome'
,
platform
:
'Windows XP'
},
firefox_test
:
{
singleRun
:
true
,
base
:
'SauceLabs'
,
browserName
:
'firefox'
,
platform
:
'Windows 8'
},
safari_test
:
{
singleRun
:
true
,
base
:
'SauceLabs'
,
browserName
:
'safari'
,
platform
:
'OS X 10.8'
},
ipad_test
:
{
singleRun
:
true
,
base
:
'SauceLabs'
,
browserName
:
'ipad'
,
platform
:
'OS X 10.8'
},
android_test
:
{
singleRun
:
true
,
base
:
'SauceLabs'
,
browserName
:
'android'
,
platform
:
'Linux'
}
}
});
};
...
...
Please
register
or
sign in
to post a comment