diff --git a/.travis.yml b/.travis.yml index 180b6a03030..d84e008eecf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,11 @@ language: node_js -# https://github.com/nodejs/LTS +# https://github.com/nodejs/Release node_js: + - '10' - '9' - '8' - '6' - - '4' git: depth: 5 diff --git a/package.json b/package.json index b4003fb9535..186959a5343 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,9 @@ "options": { "mocha": "--check-leaks --full-trace --timeout 15000 src/**/__tests__/**/*-test.js" }, + "engines": { + "node": "6.x || 8.x || >= 9.x" + }, "scripts": { "watch": "babel-node ./resources/watch.js", "test": "npm run lint && npm run check && npm run testonly",