Travis: node versions as strings

This commit is contained in:
Kirill Fomichev 2016-02-15 09:13:40 +03:00
parent 567ac74384
commit bed6ca0bb4

View file

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