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
86bcfb6c
authored
2015-06-23 17:14:40 -0400
by
jforbes
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fixed task selection logic
Run Karma tests with Chrome and Firefox
1 parent
12790e51
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 @
86bcfb6
...
...
@@ -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 @
86bcfb6
...
...
@@ -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