Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2017-01-04 01:25:46 +0300
committerRebecca Turner <me@re-becca.org>2017-01-04 01:26:15 +0300
commitc7bbba8744b62448103a1510c65d9751288abb5d (patch)
treea2f62d7451900448bc1fd34f24773fad4ffda75d
parent40883fcf6c31d2609998db7aaa73b6127f0bcd1a (diff)
unsupported,travis: Remove 0.12 from our supported list
Credit: @iarna
-rw-r--r--.travis.yml4
-rw-r--r--lib/utils/unsupported.js2
-rw-r--r--test/tap/unsupported.js2
3 files changed, 2 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 4c6548d1e..6e1950523 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,10 +20,6 @@ matrix:
# then master
- node_js: "7"
env: DEPLOY_VERSION=testing
- # then 0.12, which is still in maintenance mode until the end of 2016 I guess?
- # https://github.com/nodejs/LTS#lts-schedule
- - node_js: "0.12"
- env: DEPLOY_VERSION=testing
before_install:
# required by test/tap/registry.js
- "mkdir -p /var/run/couchdb"
diff --git a/lib/utils/unsupported.js b/lib/utils/unsupported.js
index 5e74e3490..91f494f4b 100644
--- a/lib/utils/unsupported.js
+++ b/lib/utils/unsupported.js
@@ -1,6 +1,6 @@
'use strict'
var semver = require('semver')
-var supportedNode = '0.12 || >= 4'
+var supportedNode = '>= 4'
var knownBroken = '>=0.1 <=0.7'
var checkVersion = exports.checkVersion = function (version) {
diff --git a/test/tap/unsupported.js b/test/tap/unsupported.js
index dff86a623..b0dd8448a 100644
--- a/test/tap/unsupported.js
+++ b/test/tap/unsupported.js
@@ -15,7 +15,7 @@ var versions = [
['v0.9.6', false, true],
['v0.10.48', false, true],
['v0.11.16', false, true],
- ['v0.12.9', false, false],
+ ['v0.12.9', false, true],
['v1.0.1', false, true],
['v1.6.0', false, true],
['v2.3.1', false, true],