Skip to content

Commit

Permalink
chore(ci): drop Node.js 6 and add Node.js 12
Browse files Browse the repository at this point in the history
BREAKING CHANGE:  This library will no longer be tested on Node.js 6 and as such will not be guaranteed to work on this version of Node.js. We support LTS versions of Node.js as they are specified here: https://github.com/nodejs/Release#release-schedule
  • Loading branch information
gurpreetatwal committed Jul 25, 2019
1 parent 30261d7 commit aaca9bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
language: node_js

node_js:
- '12'
- '10'
- '8'
- '6'

cache:
directories:
Expand All @@ -12,9 +12,6 @@ cache:

if: tag IS blank # do not build tags

before_install:
- dpkg --compare-versions `npm -v` ge 6.0 || npm i -g npm@latest

install:
- if [[ "$TRAVIS_BRANCH" = "greenkeeper/"* ]]; then npm install; else npm ci; fi

Expand All @@ -35,4 +32,4 @@ jobs:
include:
- stage: publish
node_js: '10'
script: npx semantic-release
script: semantic-release
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"url": "git+https://github.com/gurpreetatwal/incito.git"
},
"engines": {
"node": ">=4.0.0"
"node": ">=8.0.0"
},
"files": [
"index.js",
Expand Down

0 comments on commit aaca9bb

Please sign in to comment.