Add checks to the scripts (they has to be executed at the root of the
[oweals/peertube.git] / .travis.yml
1 language: node_js
2
3 node_js:
4   - "0.12"
5   - "4.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 cache:
23   directories:
24     - node_modules
25     - $(npm config get prefix)/bin/grunt-cli
26     - $(npm config get prefix)/bin/electron-prebuilt
27
28 before_script:
29   - npm install electron-prebuilt -g
30   - npm install grunt-cli -g
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