Skip to content

Instantly share code, notes, and snippets.

@kevinGodell
Created February 13, 2018 19:23
Show Gist options
  • Save kevinGodell/bd52cd74c8c2d66fb69f108ef223c356 to your computer and use it in GitHub Desktop.
Save kevinGodell/bd52cd74c8c2d66fb69f108ef223c356 to your computer and use it in GitHub Desktop.
Travis delpoyment install ffmpeg
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