Build: Stop testing on Node.js 0.10

Node.js 0.10 loses upstream support today (see https://github.com/nodejs/LTS/)
so let's stop testing against it as well.
This commit is contained in:
Michał Gołębiowski 2016-10-31 18:38:35 +01:00
parent fedc1aa690
commit 5b4cb0d337
2 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,6 @@
language: node_js
sudo: false
node_js:
- "0.10"
- "0.12"
- "4"
- "6"

View File

@ -17,8 +17,8 @@ module.exports = function( grunt ) {
oldNode = /^v0\./.test( process.version );
// Support: Node.js <4
// Skip running tasks that dropped support for Node.js 0.10 & 0.12
// in those Node versions.
// Skip running tasks that dropped support for Node.js 0.12
// in this Node version.
function runIfNewNode( task ) {
return oldNode ? "print_old_node_message:" + task : task;
}