travis: use generic directory name for ffmpeg

This commit is contained in:
Karl Kroening 2017-11-01 00:25:21 -07:00
parent 38f2e703d2
commit 39741f49c3

View File

@ -1,9 +1,10 @@
language: python language: python
before_install: before_install:
- > - >
[ -f ffmpeg-3.3.4-64bit-static/ffmpeg ] || ( [ -f ffmpeg-release/ffmpeg ] || (
curl -O https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz && curl -O https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz &&
tar Jxf ffmpeg-release-64bit-static.tar.xz mkdir -p ffmpeg-release &&
tar Jxf ffmpeg-release-64bit-static.tar.xz --strip-components=1 -C ffmpeg-release
) )
matrix: matrix:
include: include:
@ -28,9 +29,9 @@ matrix:
install: install:
- pip install tox - pip install tox
script: script:
- export PATH=$(readlink -f ffmpeg-3.3.4-64bit-static):$PATH - export PATH=$(readlink -f ffmpeg-release):$PATH
- tox -e $TOX_ENV - tox -e $TOX_ENV
cache: cache:
directories: directories:
- .tox - .tox
- ffmpeg-3.3.4-64bit-static - ffmpeg-release