Skip to content

Commit 5c69b26

Browse files
committed
Chore: drop Node v8 support add Node v14
1 parent 7d1bcd7 commit 5c69b26

File tree

2 files changed

+10
-16
lines changed

2 files changed

+10
-16
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ language: node_js
22
sudo: true
33
dist: trusty
44
node_js:
5-
- 8
65
- 10
76
- 12
8-
script: npm test
7+
- 14
8+
script:
9+
- npm run lint
10+
- npm test
911
notifications:
1012
email:
1113
on_failure: change

appveyor.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
1-
# Test against this version of Node.js
21
environment:
32
matrix:
4-
# node.js
5-
- nodejs_version: 8
6-
- nodejs_version: 10
7-
- nodejs_version: 12
3+
- nodejs_version: "10"
4+
- nodejs_version: "12"
5+
- nodejs_version: "14"
86

97
platform:
10-
- x86
118
- x64
129

13-
# Install scripts. (runs after repo cloning)
1410
install:
1511
# Get the latest stable version of Node.js or io.js
1612
- ps: |
@@ -22,15 +18,11 @@ install:
2218
}
2319
# install modules
2420
- npm config set loglevel warn
25-
- npm i
21+
- npm i -g npm
22+
- npm ci
2623

27-
# Post-install test scripts.
2824
test_script:
29-
# Output useful info for debugging.
30-
- node --version
31-
- npm --version
32-
# run tests
25+
- npm run lint
3326
- npm test
3427

35-
# Don't actually build.
3628
build: off

0 commit comments

Comments
 (0)