add matrix to .travis.yml

This commit is contained in:
Kirill Fomichev 2015-11-03 21:42:44 +03:00
parent b2e4016f62
commit f88294132f

View file

@ -1,15 +1,19 @@
language: node_js language: node_js
before_install: before_install:
- "npm install npm -g" - npm install npm -g
node_js: node_js:
- "4.0.0" - 5
- "io.js" - 4
- "0.12" - io.js
- "0.10" - 0.12
- 0.10
matrix:
include:
- node_js: 4
env: TEST_SUITE=standard
env: env:
- TEST_SUITE=coverage - TEST_SUITE=coverage
- TEST_SUITE=integration - TEST_SUITE=integration
- TEST_SUITE=standard
- TEST_SUITE=unit - TEST_SUITE=unit
script: "npm run-script $TEST_SUITE" script: npm run-script $TEST_SUITE
sudo: false sudo: false