Skip to content

Commit

Permalink
Update supported Node.js versions
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Sep 27, 2019
1 parent 8427da6 commit ca6f5e8
Show file tree
Hide file tree
Showing 4 changed files with 103 additions and 823 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
sudo: false

language: node_js

node_js:
- "6"
- "8"
- "10"
- "12"

matrix:
fast_finish: true

cache:
directories:
- node_modules
cache: npm
7 changes: 5 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ environment:
PLATFORM: x64
- NODEJS_VERSION: "10"
PLATFORM: x64
- NODEJS_VERSION: "12"
PLATFORM: x64

install:
- ps: Install-Product node $env:NODEJS_VERSION $env:PLATFORM
- npm install
- if "%NODEJS_VERSION%" lss "8" (npm install) else (npm ci) # switch to `npm ci` when Node.js 6.x is dropped

test_script:
- node --version
Expand All @@ -31,4 +33,5 @@ matrix:
fast_finish: true

cache:
- 'node_modules -> appveyor.yml,package.json,package-lock.json'
- '%APPDATA%\npm-cache\ -> .appveyor.yml,package.json,package-lock.json'
- 'node_modules -> appveyor.yml,package.json,package-lock.json' # drop this when Node.js 6.x is removed

0 comments on commit ca6f5e8

Please sign in to comment.