PeerTube/.travis.yml

36 lines
532 B
YAML

language: node_js
node_js:
- "0.12"
- "4.2"
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