From 538bc9a7d5a97efb91cf08d1e99ff2968dab72f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Thu, 19 Oct 2017 13:46:48 +0200 Subject: [PATCH] Drop support for Node.js versions 0.10 and 0.12 Some of our dependencies are no longer supporting pre-4.0 versions of Node.js. As a result, our CI builds are failing on these platforms. This pull request removes 0.10 and 0.12 from our Travis CI build matrix and also adds "engines" field to package.json to tell our internal Jenkins CI to stop testing 0.10 and 0.12 versions too. --- .travis.yml | 4 ++-- package.json | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ec6072c9..bdf39070 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,10 @@ sudo: false language: node_js node_js: - - "0.10" - - "0.12" - "4" - "6" + - "8" + after_success: npm run coverage # see https://www.npmjs.com/package/phantomjs-prebuilt#continuous-integration diff --git a/package.json b/package.json index 9f1fff65..b7e93418 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,9 @@ "coverage": "nyc report --reporter=text-lcov | coveralls", "test": "nyc grunt mocha-and-karma" }, + "engines": { + "node": ">=4.0.0" + }, "dependencies": { "async": "^2.0.1", "bcryptjs": "^2.1.0",