]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - .travis.yml
Electron-prebuilt -> electron
[github/Chocobozzz/PeerTube.git] / .travis.yml
1 language: node_js
2
3 node_js:
4 - "4.5"
5 - "6.6"
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_install: if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
23
24 before_script:
25 - npm install electron -g
26 - npm run build
27 - wget --no-check-certificate "https://download.cpy.re/ffmpeg/ffmpeg-release-3.0.2-64bit-static.tar.xz"
28 - tar xf ffmpeg-release-3.0.2-64bit-static.tar.xz
29 - mkdir -p $HOME/bin
30 - cp ffmpeg-*-64bit-static/{ffmpeg,ffprobe,ffserver} $HOME/bin
31 - export PATH=$HOME/bin:$PATH
32 - export NODE_TEST_IMAGE=true
33
34 after_failure:
35 - cat test1/logs/all-logs.log
36 - cat test2/logs/all-logs.log
37 - cat test3/logs/all-logs.log
38 - cat test4/logs/all-logs.log
39 - cat test5/logs/all-logs.log
40 - cat test6/logs/all-logs.log