]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - .travis.yml
Add a check for the duration of videos
[github/Chocobozzz/PeerTube.git] / .travis.yml
index 5c207a470bc60efdaa2ecf8faeb80dda846adbd4..2be6a797ab399342ad56ca5f739ff82b0456f740 100644 (file)
@@ -14,7 +14,7 @@ addons:
     packages:
       - g++-4.8
 
-sudo: true
+sudo: false
 
 services:
   - mongodb
@@ -22,9 +22,11 @@ services:
 before_script:
   - npm install electron-prebuilt -g
   - npm run build
-  - sudo add-apt-repository ppa:mc3man/trusty-media -y
-  - sudo apt-get update -q
-  - sudo apt-get install ffmpeg -y
+  - wget --no-check-certificate "https://download.cpy.re/ffmpeg/ffmpeg-release-3.0.2-64bit-static.tar.xz"
+  - tar xf ffmpeg-release-3.0.2-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