mirror of
https://github.com/jquery/jquery.git
synced 2024-10-05 11:34:18 +00:00
ad3c2efa10
Also, run them on both ChromeHeadless & FirefoxHeadless locally on `grunt karma:main`. Plus, so far, the chrome addons were installed for all the jobs, even the ones that weren't used for browser testing. Changing that makes those jobs faster. (cherry-picked from 84835e68239ce55d1fc007b284e8ef4ed2817c2)
21 lines
393 B
YAML
21 lines
393 B
YAML
language: node_js
|
|
sudo: false
|
|
node_js:
|
|
- "8"
|
|
- "10"
|
|
- "12"
|
|
env:
|
|
- NPM_SCRIPT=test:browserless
|
|
matrix:
|
|
include:
|
|
# Run browser tests only on one Node.js version to save time.
|
|
- node_js: "12"
|
|
env:
|
|
- NPM_SCRIPT="test:browser"
|
|
- BROWSERS="ChromeHeadless,FirefoxHeadless"
|
|
addons:
|
|
chrome: stable
|
|
firefox: latest
|
|
script:
|
|
- npm run $NPM_SCRIPT
|