You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
686 B

sudo: false
language: node_js
node_js:
- 0.12
- 4
- 6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- socat
- g++-4.8
env:
global:
- CXX=g++-4.8
matrix:
- TARGET=test
- TARGET=test-stress
- TARGET=test-multi
- TARGET=test-multi-remote
before_install:
- ssh-keygen -t rsa -f ~/.ssh/id_rsa -N ''
- cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
- ssh-keyscan -t rsa localhost >> ~/.ssh/known_hosts
- echo . ~/.nvm/nvm.sh > ~/.bashrc.new
- cat ~/.bashrc >> ~/.bashrc.new
- mv ~/.bashrc.new ~/.bashrc
- nvm alias default "$(node --version)"
- ssh localhost node --version
script: npm run travis-$TARGET