jquery/.travis.yml
Michał Gołębiowski-Owczarek 0f623fdc8d
Build: Test on Node.js 16 instead of 15
Node.js 10 is kept for now despite being EOL'd as that's what our current
infrastructure relies on.

Closes gh-4902
2021-07-12 18:34:56 +02:00

57 lines
1.4 KiB
YAML

language: node_js
os: linux
node_js:
- "10" # required by jQuery infra
- "12"
- "14"
- "16"
env:
- NPM_SCRIPT=test:browserless
jobs:
include:
- name: "Browser tests: full build, Chrome & Firefox stable"
node_js: "14"
env:
- NPM_SCRIPT="test:browser"
- BROWSERS="ChromeHeadless,FirefoxHeadless"
addons:
chrome: stable
firefox: latest
- name: "Browser tests: slim build, Chrome stable"
node_js: "14"
env:
- NPM_SCRIPT="test:slim"
- BROWSERS="ChromeHeadless"
addons:
chrome: stable
- name: "Browser tests: no-deprecated build, Chrome stable"
node_js: "14"
env:
- NPM_SCRIPT="test:no-deprecated"
- BROWSERS="ChromeHeadless"
addons:
chrome: stable
- name: "Browser tests: ES modules build, Chrome stable"
node_js: "14"
env:
- NPM_SCRIPT="test:esmodules"
- BROWSERS="ChromeHeadless"
addons:
chrome: stable
- name: "Browser tests: AMD build, Chrome stable"
node_js: "14"
env:
- NPM_SCRIPT="test:amd"
- BROWSERS="ChromeHeadless"
addons:
chrome: stable
- name: "Browser tests: full build, Firefox ESR"
node_js: "14"
env:
- NPM_SCRIPT="test:browser"
- BROWSERS="FirefoxHeadless"
addons:
firefox: latest-esr
script:
- npm run $NPM_SCRIPT