Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

travis: add job names, add Node.js v14 to matrix

Christopher Hillera94e2d32135e
diff --git a/.travis.yml b/.travis.yml
index a3874504..6d7a36eb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,7 +11,7 @@ stages:
# defaults
language: node_js
-node_js: '13'
+node_js: '14'
addons:
apt:
packages:
@@ -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:
@@ -59,6 +68,7 @@ jobs:
- stage: lint
script: npm start lint
+ name: 'JS & Markdown'
# smoke tests use default npm.
- &smoke
@@ -66,7 +76,7 @@ jobs:
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:
@@ -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
diff --git a/appveyor.yml b/appveyor.yml
index af8559d7..56d8a541 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -12,6 +12,7 @@ shallow_clone: true
clone_depth: 1
environment:
matrix:
+ - nodejs_version: '14'
- nodejs_version: '13'
- nodejs_version: '12'
- nodejs_version: '10'