Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

drop node.js v4 support

Outsidercc8304d81334
diff --git a/.travis.yml b/.travis.yml
index be6d7e93..94aa8577 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -40,9 +40,6 @@ jobs:
- <<: *node
node_js: '6'
- - <<: *node
- node_js: '4'
-
- script: npm start test.bundle test.browser
install: npm ci # we need the native modules here
addons:
@@ -78,9 +75,6 @@ jobs:
- <<: *smoke
node_js: '6'
- - <<: *smoke
- node_js: '4'
-
- stage: precache
script: true
diff --git a/appveyor.yml b/appveyor.yml
index 31b0ddb8..2d2e1e45 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -6,7 +6,6 @@ environment:
- nodejs_version: '9'
- nodejs_version: '8'
- nodejs_version: '6'
- - nodejs_version: '4'
install:
- ps: Install-Product node $env:nodejs_version x64
- set CI=true
diff --git a/docs/README.md b/docs/README.md
index 56aa8a5c..30ef573d 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -9,7 +9,7 @@
- Ruby
- RubyGems
- Bundler (`gem install bundler`)
-- Node.js v4.0.0 or greater
+- Node.js v6.x or greater
## Development
diff --git a/docs/index.md b/docs/index.md
index fa7f4d04..1e0c372c 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -92,7 +92,7 @@ or as a development dependency for your project:
$ npm install --save-dev mocha
```
-> To install Mocha v3.0.0 or newer with `npm`, you will need `npm` v2.14.2 or newer. Additionally, to run Mocha, you will need Node.js v4 or newer.
+> Mocha currently requires Node.js v6.x or newer.
## Getting Started
diff --git a/package.json b/package.json
index 314adce2..002b55e3 100644
--- a/package.json
+++ b/package.json
@@ -451,7 +451,7 @@
"_mocha": "./bin/_mocha"
},
"engines": {
- "node": ">= 4.0.0"
+ "node": ">= 6.0.0"
},
"scripts": {
"prepublishOnly": "nps test clean build",