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
also fix webhooks

Ref: #4198
  • Loading branch information
boneskull committed Apr 21, 2020
1 parent 38d579a commit 7fc056c
Showing 1 changed file with 23 additions and 9 deletions.
32 changes: 23 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
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,23 @@ 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/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

0 comments on commit 7fc056c

Please sign in to comment.