PeerTube/.travis.yml

40 lines
638 B
YAML

language: node_js
node_js:
- "0.12"
- "4.2"
- "5.1"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
sudo: false
services:
- mongodb
cache:
directories:
- node_modules
- $(npm config get prefix)/bin/grunt-cli
- $(npm config get prefix)/bin/electron-prebuilt
before_script:
- npm install electron-prebuilt -g
- npm install grunt-cli -g
after_failure:
- cat test1/logs/all-logs.log
- cat test2/logs/all-logs.log
- cat test3/logs/all-logs.log
- cat test4/logs/all-logs.log
- cat test5/logs/all-logs.log
- cat test6/logs/all-logs.log