mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
0458f98eec
Also, run browser tests on Node 14 instead of 12.
Closes gh-4802
(cherry-picked from 6984d17476
)
57 lines
1.4 KiB
YAML
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
|