]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - .travis.yml
Server: do not enable images tests by default because it needs a special
[github/Chocobozzz/PeerTube.git] / .travis.yml
1 language: node_js
2
3 node_js:
4 - "4.4"
5 - "6.2"
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 - export NODE_TEST_IMAGE=true
31
32 after_failure:
33 - cat test1/logs/all-logs.log
34 - cat test2/logs/all-logs.log
35 - cat test3/logs/all-logs.log
36 - cat test4/logs/all-logs.log
37 - cat test5/logs/all-logs.log
38 - cat test6/logs/all-logs.log