jquery/.travis.yml
Michał Gołębiowski-Owczarek 0458f98eec Build: Test on Node.js 15
Also, run browser tests on Node 14 instead of 12.

Closes gh-4802

(cherry-picked from 6984d17476)
2020-11-11 23:04:31 +01:00

57 lines
1.4 KiB
YAML

language: node_js
os: linux
node_js:
- "10"
- "12"
- "14"
- "15"
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: no-Sizzle build, Chrome stable"
node_js: "14"
env:
- NPM_SCRIPT="test:no-sizzle"
- 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