Skip to content

Commit

Permalink
- Breaking change: Drop Node 6 support (latest nyc)
Browse files Browse the repository at this point in the history
- Update: Support ESLint 7 in peerDeps.
- Travis: Check Node 12 and 14 and ESLint 6 and 7
  • Loading branch information
brettz9 committed May 12, 2020
1 parent 54a3a61 commit 8ffa32e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
16 changes: 10 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,13 @@ jobs:

- &test
stage: test
node_js: 6
env: ESLINT_VERSION=2
node_js: 8
env: ESLINT_VERSION=3

install:
- yarn install --ignore-engines
- yarn add eslint@$ESLINT_VERSION

- <<: *test
node_js: 8
env: ESLINT_VERSION=3

- <<: *test
node_js: 10
env: ESLINT_VERSION=4
Expand All @@ -39,6 +35,14 @@ jobs:
node_js: 10
env: ESLINT_VERSION=5

- <<: *test
node_js: 12
env: ESLINT_VERSION=6

- <<: *test
node_js: 14
env: ESLINT_VERSION=7

deploy:
provider: npm
email: tobias.bieniek@gmx.de
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"unit-test": "nyc mocha tests/**/*.js"
},
"peerDependencies": {
"eslint": ">=2.0.0 <= 6.x"
"eslint": ">=2.0.0 <= 7.x"
},
"dependencies": {},
"devDependencies": {
Expand All @@ -43,7 +43,7 @@
"nyc": "^15.0.1"
},
"engines": {
"node": "6.* || 8.* || >= 10.*"
"node": "8.* || >= 10.*"
},
"greenkeeper": {
"ignore": [
Expand Down

0 comments on commit 8ffa32e

Please sign in to comment.