jquery/.travis.yml
Michał Gołębiowski-Owczarek 88eb22e059
Build: Test on Node.js 14, stop testing on Node.js 8 & 13
Closes gh-4678
2020-04-23 13:24:35 +02:00

56 lines
1.4 KiB
YAML

language: node_js
os: linux
node_js:
- "10"
- "12"
- "14"
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: ES modules build, Chrome stable"
node_js: "12"
env:
- NPM_SCRIPT="test:esmodules"
- 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