jquery/.travis.yml
Michał Gołębiowski-Owczarek 7506c9ca62 Build: Resolve Travis config warnings
Travis reports warnings in our config:
* root: deprecated key sudo (The key `sudo` has no effect anymore.)
* root: missing os, using the default linux
* root: key matrix is an alias for jobs, using jobs

They are all now resolved.

Closes gh-4636

(cherry picked from commit 5b94a4f847)
2020-03-13 17:19:02 +01:00

57 lines
1.4 KiB
YAML

language: node_js
os: linux
node_js:
- "8"
- "10"
- "12"
- "13"
env:
- NPM_SCRIPT=test:browserless
jobs:
include:
- name: "Browser tests: full build, Chrome & Firefox stable"
node_js: "12"
env:
- NPM_SCRIPT="test:browser"
- BROWSERS="ChromeHeadless,FirefoxHeadless"
addons:
chrome: stable
firefox: latest
- name: "Browser tests: slim build, Chrome stable"
node_js: "12"
env:
- NPM_SCRIPT="test:slim"
- BROWSERS="ChromeHeadless"
addons:
chrome: stable
- name: "Browser tests: no-deprecated build, Chrome stable"
node_js: "12"
env:
- NPM_SCRIPT="test:no-deprecated"
- BROWSERS="ChromeHeadless"
addons:
chrome: stable
- name: "Browser tests: no-Sizzle build, Chrome stable"
node_js: "12"
env:
- NPM_SCRIPT="test:no-sizzle"
- BROWSERS="ChromeHeadless"
addons:
chrome: stable
- name: "Browser tests: AMD build, Chrome stable"
node_js: "12"
env:
- NPM_SCRIPT="test:amd"
- BROWSERS="ChromeHeadless"
addons:
chrome: stable
- name: "Browser tests: full build, Firefox ESR"
node_js: "12"
env:
- NPM_SCRIPT="test:browser"
- BROWSERS="FirefoxHeadless"
addons:
firefox: latest-esr
script:
- npm run $NPM_SCRIPT