Be sure about the version of ffmpeg in travis buils
[oweals/peertube.git] / .travis.yml
1 language: node_js
2
3 node_js:
4   - "4.2"
5   - "5.1"
6
7 env:
8   - CXX=g++-4.8
9
10 addons:
11   apt:
12     sources:
13       - ubuntu-toolchain-r-test
14     packages:
15       - g++-4.8
16
17 sudo: false
18
19 services:
20   - mongodb
21
22 before_script:
23   - npm install electron-prebuilt -g
24   - npm run build
25   - wget --no-check-certificate "https://download.cpy.re/ffmpeg/ffmpeg-release-3.0.2-64bit-static.tar.xz"
26   - tar xf ffmpeg-release-3.0.2-64bit-static.tar.xz
27   - mkdir -p $HOME/bin
28   - cp ffmpeg-*-64bit-static/{ffmpeg,ffprobe,ffserver} $HOME/bin
29   - export PATH=$HOME/bin:$PATH
30
31 after_failure:
32   - cat test1/logs/all-logs.log
33   - cat test2/logs/all-logs.log
34   - cat test3/logs/all-logs.log
35   - cat test4/logs/all-logs.log
36   - cat test5/logs/all-logs.log
37   - cat test6/logs/all-logs.log