fix(travis): switch to matrix build strategy

This commit is contained in:
Matt Bilker 2015-10-07 21:51:30 -04:00
parent 8230148e5e
commit 8b02e4106c

View file

@ -1,17 +1,26 @@
language: node_js
node_js:
- "4.1"
- "4.0"
- "0.12"
- "0.10"
matrix:
include:
- os: linux
env: NODE_VERSION=0.10
- os: linux
env: NODE_VERSION=0.12
- os: linux
env: NODE_VERSION=4
- os: osx
env: NODE_VERSION=0.10
- os: osx
env: NODE_VERSION=0.12
- os: osx
env: NODE_VERSION=4
sudo: false
install:
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
- source /tmp/.nvm/nvm.sh
- nvm install $NODE_VERSION
- nvm use $NODE_VERSION
script: script/cibuild
addons: