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
613f76f2
authored
2015-06-30 14:55:37 -0400
by
David LaPalomento
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge pull request #322 from forbesjo/sauce-tests
Run non-PR karma tests in Sauce Labs
2 parents
f32b8d2e
86bcfb6c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
Gruntfile.js
test/karma.conf.js
Gruntfile.js
View file @
613f76f
...
...
@@ -351,11 +351,13 @@ module.exports = function(grunt) {
grunt
.
task
.
run
([
'jshint'
,
'manifests-to-js'
]);
if
(
process
.
env
.
TRAVIS_PULL_REQUEST
)
{
grunt
.
task
.
run
([
'karma:phantomjs'
]);
}
else
if
(
process
.
env
.
TRAVIS
)
{
grunt
.
task
.
run
([
'karma:saucelabs'
]);
grunt
.
task
.
run
([
'connect:test'
,
'protractor:saucelabs'
]);
if
(
process
.
env
.
TRAVIS
)
{
if
(
process
.
env
.
TRAVIS_PULL_REQUEST
===
'false'
)
{
grunt
.
task
.
run
([
'karma:saucelabs'
]);
grunt
.
task
.
run
([
'connect:test'
,
'protractor:saucelabs'
]);
}
else
{
grunt
.
task
.
run
([
'karma:phantomjs'
]);
}
}
else
{
if
(
tasks
.
length
===
0
)
{
tasks
.
push
(
'chrome'
);
...
...
test/karma.conf.js
View file @
613f76f
...
...
@@ -61,7 +61,7 @@ module.exports = function(config) {
customLaunchers
:
customLaunchers
,
// Start these browsers
browsers
:
[
'chrome_sl'
,
'
ipad
_sl'
],
//Object.keys(customLaunchers),
browsers
:
[
'chrome_sl'
,
'
firefox
_sl'
],
//Object.keys(customLaunchers),
// List of files / patterns to load in the browser
// Add any new src files to this list.
...
...
Please
register
or
sign in
to post a comment