Skip to content

Commit

Permalink
travis: add job names, add Node.js v14 to matrix
Browse files Browse the repository at this point in the history
- fix webhooks
- remove webhook for `mochajs/mocha`
- add v14 to Appveyor

Ref: #4198
  • Loading branch information
boneskull committed Apr 24, 2020
1 parent 284b411 commit a94e2d3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 9 deletions.
30 changes: 21 additions & 9 deletions .travis.yml
Expand Up @@ -11,7 +11,7 @@ stages:

# defaults
language: node_js
node_js: '13'
node_js: '14'
addons:
apt:
packages:
Expand All @@ -38,15 +38,24 @@ jobs:
include:
- script: COVERAGE=1 npm start test.node
after_success: npm start coveralls
name: 'Latest Node.js (with coverage)'

- &node
script: npm start test.node
node_js: '13'
name: 'Node.js v13'

- &node
script: npm start test.node
node_js: '12'
name: 'Node.js v12'

- <<: *node
node_js: '10'
name: 'Node.js v10'

- script: npm start test.bundle test.browser
name: 'Browser'
node_js: 12
install: npm ci # we need the native modules here
addons:
Expand All @@ -59,14 +68,15 @@ jobs:

- stage: lint
script: npm start lint
name: 'JS & Markdown'

# smoke tests use default npm.
- &smoke
stage: smoke
env: null
before_install: true
install: npm install --production

name: 'Latest Node.js'
script: ./bin/mocha --no-config --reporter spec test/sanity/sanity.spec.js
cache:
directories:
Expand All @@ -75,19 +85,21 @@ jobs:

- <<: *smoke
node_js: '12'
name: 'Node.js v12'

- <<: *smoke
node_js: '10'
name: 'Node.js v10'

- stage: precache
script: true
name: 'Prime cache'

notifications:
email: false
urls:
# for gitter mochajs/mocha
- secure: fUrHenYJs+pTuLtgBRoYyrlyfVekxaIGmLWq7bhUUqBj/7p5eCkQFn13LlPht0/4WWZOiPBcdTN7tKnz3Ho7ATUJhAchvOWDUgL5gtTvOzeCHbPuCvHz/VLK6hMoPdbLA45M864NDLotfHvyh62WgQaVw9iPc80eb+umaDPrYiU=
# for gitter mochajs/contributors
- secure: rGMGYWBaZgEa9i997jJHKzjI8WxECqLi6BqsMhvstDq9EeTeXkZFVfz4r6G3Xugsk3tFwb/pDpiYo1OK36kA5arUJTCia51u4Wn+c7lHKcpef/vXztoyucvw6/jXdVm/FQz1jztYYbqdyAOWC2BV8gYvg5F8TpK05UGCe5R0bRA=
on_success: change
on_failure: always
webhooks:
urls:
# for gitter mochajs/contributors
- secure: rGMGYWBaZgEa9i997jJHKzjI8WxECqLi6BqsMhvstDq9EeTeXkZFVfz4r6G3Xugsk3tFwb/pDpiYo1OK36kA5arUJTCia51u4Wn+c7lHKcpef/vXztoyucvw6/jXdVm/FQz1jztYYbqdyAOWC2BV8gYvg5F8TpK05UGCe5R0bRA=
on_success: change
on_failure: always
1 change: 1 addition & 0 deletions appveyor.yml
Expand Up @@ -12,6 +12,7 @@ shallow_clone: true
clone_depth: 1
environment:
matrix:
- nodejs_version: '14'
- nodejs_version: '13'
- nodejs_version: '12'
- nodejs_version: '10'
Expand Down

0 comments on commit a94e2d3

Please sign in to comment.