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
04ecb931
authored
2014-05-01 18:18:15 -0400
by
Gary Katsevman
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Only run saucelabs if PR initiated in main repo
1 parent
d828f47e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
.travis.yml
Gruntfile.js
.travis.yml
View file @
04ecb93
...
...
@@ -3,8 +3,7 @@ node_js:
-
'
0.10'
before_script
:
-
npm install -g grunt-cli
-
curl https://gist.githubusercontent.com/santiycr/5139565/raw/sauce_connect_setup.sh
| bash
-
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then curl https://gist.githubusercontent.com/santiycr/5139565/raw/sauce_connect_setup.sh | bash; fi
notifications
:
hipchat
:
rooms
:
...
...
Gruntfile.js
View file @
04ecb93
...
...
@@ -270,7 +270,9 @@ module.exports = function(grunt) {
grunt
.
task
.
run
([
'jshint'
,
'manifests-to-js'
]);
if
(
process
.
env
.
TRAVIS
)
{
if
(
process
.
env
.
TRAVIS_PULL_REQUEST
)
{
grunt
.
task
.
run
([
'karma:phantomjs'
]);
}
else
if
(
process
.
env
.
TRAVIS
)
{
grunt
.
task
.
run
([
'karma:saucelabs'
]);
}
else
{
if
(
tasks
.
length
===
0
)
{
...
...
Please
register
or
sign in
to post a comment