Enforces the correct versions to be tested depending on the engines
field in package.json
.
{
"name": "foo"
}
{
"name": "foo",
"engines": {
"node": ">=4"
}
}
language: node_js
node_js:
- '6'
- '4'
- '0.12'
{
"name": "travis",
"engines": {
"node": ">=0.10"
}
}
language: node_js
node_js:
- '6'
- '4'
language: node_js
node_js:
- 'stable'
- 'iojs'
{
"name": "travis",
"engines": {
"node": ">=0.10"
}
}
language: node_js
node_js:
- '6'
- '4'
- '0.12'
- '0.10'
{
"name": "travis",
"engines": {
"node": ">=4"
}
}
language: node_js
node_js:
- '6'
matrix:
include:
- node_js: '4'
env: FOO='bar'