Skip to content

Commit ddaecbc

Browse files
boneskullcraigtaub
authored andcommitted
travis: add job names, add Node.js v14 to matrix
- fix webhooks - remove webhook for `mochajs/mocha` - add v14 to Appveyor Ref: #4198
1 parent 7ed9fa4 commit ddaecbc

File tree

2 files changed

+23
-11
lines changed

2 files changed

+23
-11
lines changed

.travis.yml

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ stages:
1111

1212
# defaults
1313
language: node_js
14-
node_js: '13'
14+
node_js: '14'
1515
addons:
1616
apt:
1717
packages:
@@ -38,20 +38,28 @@ jobs:
3838
include:
3939
- script: COVERAGE=1 npm start test.node
4040
after_success: npm start coveralls
41+
name: 'Latest Node.js (with coverage)'
42+
43+
- &node
44+
script: npm start test.node
45+
node_js: '13'
46+
name: 'Node.js v13'
4147

4248
- &node
4349
script: npm start test.node
4450
node_js: '12'
51+
name: 'Node.js v12'
4552

4653
- <<: *node
4754
node_js: '10'
55+
name: 'Node.js v10'
4856

4957
- <<: *node
5058
node_js: '8'
5159

5260
- script: npm start test.bundle test.browser
53-
# XXX: update when canvas supplies a prebuilt binary for Node.js v12.x
54-
node_js: 10
61+
name: 'Browser'
62+
node_js: 12
5563
install: npm ci # we need the native modules here
5664
addons:
5765
artifacts:
@@ -63,14 +71,15 @@ jobs:
6371

6472
- stage: lint
6573
script: npm start lint
74+
name: 'JS & Markdown'
6675

6776
# smoke tests use default npm.
6877
- &smoke
6978
stage: smoke
7079
env: null
7180
before_install: true
7281
install: npm install --production
73-
82+
name: 'Latest Node.js'
7483
script: ./bin/mocha --no-config --reporter spec test/sanity/sanity.spec.js
7584
cache:
7685
directories:
@@ -79,22 +88,24 @@ jobs:
7988

8089
- <<: *smoke
8190
node_js: '12'
91+
name: 'Node.js v12'
8292

8393
- <<: *smoke
8494
node_js: '10'
95+
name: 'Node.js v10'
8596

8697
- <<: *smoke
8798
node_js: '8'
8899

89100
- stage: precache
90101
script: true
102+
name: 'Prime cache'
91103

92104
notifications:
93105
email: false
94-
urls:
95-
# for gitter mochajs/mocha
96-
- secure: fUrHenYJs+pTuLtgBRoYyrlyfVekxaIGmLWq7bhUUqBj/7p5eCkQFn13LlPht0/4WWZOiPBcdTN7tKnz3Ho7ATUJhAchvOWDUgL5gtTvOzeCHbPuCvHz/VLK6hMoPdbLA45M864NDLotfHvyh62WgQaVw9iPc80eb+umaDPrYiU=
97-
# for gitter mochajs/contributors
98-
- secure: rGMGYWBaZgEa9i997jJHKzjI8WxECqLi6BqsMhvstDq9EeTeXkZFVfz4r6G3Xugsk3tFwb/pDpiYo1OK36kA5arUJTCia51u4Wn+c7lHKcpef/vXztoyucvw6/jXdVm/FQz1jztYYbqdyAOWC2BV8gYvg5F8TpK05UGCe5R0bRA=
99-
on_success: change
100-
on_failure: always
106+
webhooks:
107+
urls:
108+
# for gitter mochajs/contributors
109+
- secure: rGMGYWBaZgEa9i997jJHKzjI8WxECqLi6BqsMhvstDq9EeTeXkZFVfz4r6G3Xugsk3tFwb/pDpiYo1OK36kA5arUJTCia51u4Wn+c7lHKcpef/vXztoyucvw6/jXdVm/FQz1jztYYbqdyAOWC2BV8gYvg5F8TpK05UGCe5R0bRA=
110+
on_success: change
111+
on_failure: always

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ shallow_clone: true
1212
clone_depth: 1
1313
environment:
1414
matrix:
15+
- nodejs_version: '14'
1516
- nodejs_version: '13'
1617
- nodejs_version: '12'
1718
- nodejs_version: '10'

0 commit comments

Comments
 (0)