-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: video.js 5/6 compatibility and travis update (#12)
- Loading branch information
1 parent
b6d0a10
commit c69ac5d
Showing
4 changed files
with
36 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,30 @@ | ||
sudo: false | ||
dist: trusty | ||
language: node_js | ||
node_js: | ||
- 'node' | ||
- '4.4' | ||
- '0.12' | ||
- '0.10' | ||
|
||
- 'lts/argon' | ||
before_script: | ||
|
||
# Set up a virtual screen for Firefox. | ||
# check if the current version is equal to the version for the env | ||
- 'export IS_INSTALLED="$(npm list video.js | grep "video.js@$VJS")"' | ||
# we have to add semi colons to the end of each line in the if | ||
# as travis runs this all on one line | ||
- 'if [ -z "$IS_INSTALLED" ]; then | ||
echo "INSTALLING video.js@>=$VJS.0.0-RC.0 <$(($VJS+1)).0.0"; | ||
npm i "video.js@>=$VJS.0.0-RC.0 <\$(($VJS+1)).0.0"; | ||
else | ||
echo "video.js@$VJS ALREADY INSTALLED"; | ||
fi' | ||
- export CHROME_BIN=/usr/bin/google-chrome | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
env: | ||
- VJS=5 | ||
- VJS=6 | ||
addons: | ||
firefox: latest | ||
apt: | ||
sources: | ||
- google-chrome | ||
packages: | ||
- google-chrome-stable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters