Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 713bd54

Browse files
authored
chore: remove official support for Node.js 4 (rm it from tests and docs) (#934)
* chore: remove official support for Node.js 4 (rm it from tests and docs) * update travis * last update
1 parent ac93328 commit 713bd54

File tree

3 files changed

+9
-14
lines changed

3 files changed

+9
-14
lines changed

.travis.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,16 @@ language: node_js
33

44
matrix:
55
include:
6-
- node_js: 4
7-
env: CXX=g++-4.8
86
- node_js: 6
9-
env:
10-
- CXX=g++-4.8
11-
- node_js: stable
127
env: CXX=g++-4.8
13-
14-
# Make sure we have new NPM.
15-
before_install:
16-
- npm install -g npm@4
8+
- node_js: 8
9+
env: CXX=g++-4.8
10+
# - node_js: stable
11+
# env: CXX=g++-4.8
1712

1813
script:
1914
- npm run lint
20-
- npm test
15+
- npm run test
2116
- npm run coverage
2217
- make test
2318

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<a href="https://github.com/feross/standard"><img src="https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square"></a>
2626
<a href="https://github.com/RichardLitt/standard-readme"><img src="https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square" /></a>
2727
<a href=""><img src="https://img.shields.io/badge/npm-%3E%3D3.0.0-orange.svg?style=flat-square" /></a>
28-
<a href=""><img src="https://img.shields.io/badge/Node.js-%3E%3D4.0.0-orange.svg?style=flat-square" /></a>
28+
<a href=""><img src="https://img.shields.io/badge/Node.js-%3E%3D6.0.0-orange.svg?style=flat-square" /></a>
2929
<br>
3030
<!-- Hidding this until we have SauceLabs situation figured out, right now it is just misleading
3131
<a href="https://saucelabs.com/u/js-ipfs"><img src="https://saucelabs.com/browser-matrix/js-ipfs.svg" /></a> -->
@@ -91,7 +91,7 @@ This project is available through [npm](https://www.npmjs.com/). To install run
9191
> npm install ipfs --save
9292
```
9393

94-
Requires npm@3 and node >= 4.5, tested on OSX & Linux, expected to work on Windows.
94+
Requires npm@3 and node@6 or above, tested on OSX & Linux, expected to work on Windows.
9595

9696
### Use in Node.js
9797

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"stream": "readable-stream"
1616
},
1717
"engines": {
18-
"node": ">=4.0.0",
18+
"node": ">=6.0.0",
1919
"npm": ">=3.0.0"
2020
},
2121
"scripts": {
@@ -198,4 +198,4 @@
198198
199199
"ᴠɪᴄᴛᴏʀ ʙᴊᴇʟᴋʜᴏʟᴍ <[email protected]>"
200200
]
201-
}
201+
}

0 commit comments

Comments
 (0)