Skip to content

Commit

Permalink
Travis: Improve build time
Browse files Browse the repository at this point in the history
Install binary ffmpeg (3.2.4) package instead of build it
  • Loading branch information
marcelometal authored and scorphus committed Sep 12, 2017
1 parent ba5c7cd commit 6c3f0f9
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .travis.yml
Expand Up @@ -7,7 +7,7 @@ python:
cache:
directories:
- $HOME/.cache/pip
sudo: false
sudo: required
matrix:
fast_finish: true
allow_failures:
Expand Down Expand Up @@ -43,20 +43,15 @@ addons:
- liblapack-dev
- python-pyexiv2
- yasm
before_install:
- echo "deb http://archive.ubuntu.com/ubuntu zesty main universe" | sudo tee --append /etc/apt/sources.list
- sudo apt-get update
- sudo apt-get install ffmpeg -y -f
install:
- pip install -U --upgrade pip
- cd $TRAVIS_BUILD_DIR && make setup
- pip install coveralls
- pip install cairosvg
- wget https://ffmpeg.org/releases/ffmpeg-3.2.4.tar.xz
-O /tmp/ffmpeg-3.2.4.tar.xz
- mkdir /tmp/ffmpeg-source
- tar -C /tmp/ffmpeg-source --strip 1 -xvf /tmp/ffmpeg-3.2.4.tar.xz
- cd /tmp/ffmpeg-source && ./configure --prefix=/tmp --enable-gpl --enable-libx264 --enable-libvpx
- cd /tmp/ffmpeg-source && make
- cd /tmp/ffmpeg-source && make install
- export PATH=/tmp/bin:$PATH
- ffmpeg -version
before_script:
- cd $TRAVIS_BUILD_DIR && make redis
script:
Expand Down

0 comments on commit 6c3f0f9

Please sign in to comment.