Add support for Node 10, drop support for Node 9

This commit is contained in:
Lovell Fuller 2018-04-25 20:39:09 +01:00
parent ae2cfcc4f3
commit d09fe6178c
4 changed files with 6 additions and 6 deletions

View File

@ -16,7 +16,7 @@ matrix:
- os: linux - os: linux
dist: trusty dist: trusty
sudo: false sudo: false
node_js: "9" node_js: "10"
- os: osx - os: osx
osx_image: xcode8.3 osx_image: xcode8.3
node_js: "4" node_js: "4"
@ -28,7 +28,7 @@ matrix:
node_js: "8" node_js: "8"
- os: osx - os: osx
osx_image: xcode8.3 osx_image: xcode8.3
node_js: "9" node_js: "10"
after_success: after_success:
- npm install coveralls - npm install coveralls
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

View File

@ -22,7 +22,7 @@ As well as image resizing, operations such as
rotation, extraction, compositing and gamma correction are available. rotation, extraction, compositing and gamma correction are available.
Most modern 64-bit OS X, Windows and Linux (glibc) systems running Most modern 64-bit OS X, Windows and Linux (glibc) systems running
Node versions 4, 6, 8 and 9 Node versions 4, 6, 8 and 10
do not require any additional install or runtime dependencies. do not require any additional install or runtime dependencies.
## Examples ## Examples

View File

@ -7,10 +7,10 @@ environment:
- nodejs_version: "4" - nodejs_version: "4"
- nodejs_version: "6" - nodejs_version: "6"
- nodejs_version: "8" - nodejs_version: "8"
- nodejs_version: "9" - nodejs_version: "10"
install: install:
- ps: Install-Product node $env:nodejs_version x64 - ps: Install-Product node $env:nodejs_version x64
- npm install -g npm@5.3.x - npm install -g npm@5
- npm install - npm install
test_script: test_script:
- npm test - npm test

View File

@ -14,7 +14,7 @@ As well as image resizing, operations such as
rotation, extraction, compositing and gamma correction are available. rotation, extraction, compositing and gamma correction are available.
Most 64-bit OS X, Windows and Linux (glibc) systems running Most 64-bit OS X, Windows and Linux (glibc) systems running
Node versions 4, 6, 8 and 9 Node versions 4, 6, 8 and 10
do not require any additional install or runtime dependencies. do not require any additional install or runtime dependencies.
[![Test Coverage](https://coveralls.io/repos/lovell/sharp/badge.png?branch=master)](https://coveralls.io/r/lovell/sharp?branch=master) [![Test Coverage](https://coveralls.io/repos/lovell/sharp/badge.png?branch=master)](https://coveralls.io/r/lovell/sharp?branch=master)