Try to fix ffmpeg in travis build
[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: true
18
19 services:
20   - mongodb
21
22 before_script:
23   - npm install electron-prebuilt -g
24   - npm run build
25   - sudo add-apt-repository ppa:mc3man/trusty-media -y
26   - sudo apt-get update -q
27   - sudo apt-get install ffmpeg -y
28
29 after_failure:
30   - cat test1/logs/all-logs.log
31   - cat test2/logs/all-logs.log
32   - cat test3/logs/all-logs.log
33   - cat test4/logs/all-logs.log
34   - cat test5/logs/all-logs.log
35   - cat test6/logs/all-logs.log