mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
341c6d1b5a
Also, run such a suite in CI to make sure modules are working as expected when used directly. Closes gh-4550
43 lines
912 B
YAML
43 lines
912 B
YAML
language: node_js
|
|
sudo: false
|
|
node_js:
|
|
- "8"
|
|
- "10"
|
|
- "12"
|
|
- "13"
|
|
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
|
|
# Run ES module tests.
|
|
- node_js: "12"
|
|
env:
|
|
- NPM_SCRIPT="test:esmodules"
|
|
- BROWSERS="ChromeHeadless"
|
|
addons:
|
|
chrome: stable
|
|
# Run AMD tests.
|
|
- node_js: "12"
|
|
env:
|
|
- NPM_SCRIPT="test:amd"
|
|
- BROWSERS="ChromeHeadless"
|
|
addons:
|
|
chrome: stable
|
|
# Run tests on Firefox ESR as well.
|
|
- node_js: "12"
|
|
env:
|
|
- NPM_SCRIPT="test:browser"
|
|
- BROWSERS="FirefoxHeadless"
|
|
addons:
|
|
firefox: latest-esr
|
|
script:
|
|
- npm run $NPM_SCRIPT
|