Created
February 13, 2018 19:23
-
-
Save kevinGodell/bd52cd74c8c2d66fb69f108ef223c356 to your computer and use it in GitHub Desktop.
Travis delpoyment install ffmpeg
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
language: node_js | |
node_js: node | |
os: | |
- linux | |
- osx | |
sudo: required | |
dist: trusty | |
before_install: | |
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo add-apt-repository -y ppa:mc3man/trusty-media; fi | |
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update; fi | |
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -y ffmpeg; fi | |
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi | |
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install ffmpeg; fi | |
- ffmpeg -hwaccels | |
after_success: | |
- npm run examples | |
- npm run out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment