8000 travis: use generic directory name for ffmpeg · Powercoder64/ffmpeg-python@39741f4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 39741f4

Browse files
committed
travis: use generic directory name for ffmpeg
1 parent 38f2e70 commit 39741f4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
language: python
22
before_install:
33
- >
4-
[ -f ffmpeg-3.3.4-64bit-static/ffmpeg ] || (
4+
[ -f ffmpeg-release/ffmpeg ] || (
55
curl -O https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz &&
6-
tar Jxf ffmpeg-release-64bit-static.tar.xz
6+
mkdir -p ffmpeg-release &&
7+
tar Jxf ffmpeg-release-64bit-static.tar.xz --strip-components=1 -C ffmpeg-release
78
)
89
matrix:
910
include:
@@ -28,9 +29,9 @@ matrix:
2829
install:
2930
- pip install tox
3031
script:
31-
- export PATH=$(readlink -f ffmpeg-3.3.4-64bit-static):$PATH
32+
- export PATH=$(readlink -f ffmpeg-release):$PATH
3233
- tox -e $TOX_ENV
3334
cache:
3435
directories:
3536
- .tox
36-
- ffmpeg-3.3.4-64bit-static
37+
- ffmpeg-release

0 commit comments

Comments
 (0)
0