Skip to content

Tests/fix travis#5627

Merged
gkatsev merged 4 commits intovideojs:masterfrom
brandonocasey:tests/fix-travis
Nov 28, 2018
Merged

Tests/fix travis#5627
gkatsev merged 4 commits intovideojs:masterfrom
brandonocasey:tests/fix-travis

Conversation

@brandonocasey
Copy link
Contributor

@brandonocasey brandonocasey commented Nov 28, 2018

This pull request does three things:

  1. This should fix tests on travis by stopping tests from running on Firefox in travis. Tests will still run on browserstack Firefox. Testing on firefox was added in chore: switch to videojs-generate-karma-config #5528, an investigation issue to get this working has been created as Find out why Travis Firefox tests fail #5626

  2. This pull request also updates the travis config as outlined in: https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration

  3. Finally this pull request silences the logging from sourceset tests

Fixes #5616

language: node_js
node_js:
- lts/*
cache: npm
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Travis now supports a better method of cacheing


// disable warning logs for sourceset tests, by proxing to a remote host
Object.assign(config.proxies, {
'/test/relative-one.mp4': 'http://example.com/relative-one.mp4',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes warning logs in karma

};
const testSrc = {
src: 'http://vjs.zencdn.net/v/oceans.mp4',
src: 'http://example.com/testSrc.mp4',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should just point to a fake source

@gkatsev
Copy link
Member

gkatsev commented Nov 28, 2018

This fixes #5616

@gkatsev gkatsev merged commit 6c1056b into videojs:master Nov 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

All Travis CI builds of new PRs are failing

2 participants