Fix ffmpeg extraction
authorBigard Florian <florian.bigard@gmail.com>
Thu, 12 May 2016 06:51:19 +0000 (08:51 +0200)
committerBigard Florian <florian.bigard@gmail.com>
Thu, 12 May 2016 06:51:19 +0000 (08:51 +0200)
.travis.yml

index 9b716f498611329cf10a8bf23a4f431e793ada2b..eb96b28e32dc19a9a57670a4ab25a9e0896e162c 100644 (file)
@@ -22,10 +22,11 @@ services:
 before_script:
   - npm install electron-prebuilt -g
   - npm run build
-  - mkdir ffmpeg
   - wget "http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz"
-  - tar xzf ffmpeg.static.64bit.latest.tar.gz -C ffmpeg
-  - export PATH=`pwd`/ffmpeg:$PATH
+  - tar xf ffmpeg-release-64bit-static.tar.xz
+  - mkdir -p $HOME/bin
+  - cp ffmpeg-*-64bit-static/{ffmpeg,ffprobe,ffserver} $HOME/bin
+  - export PATH=$HOME/bin:$PATH
 
 after_failure:
   - cat test1/logs/all-logs.log