Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: add job names, add Node.js v14 to matrix #4242

Merged
merged 1 commit into from Apr 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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