2013-09-12 16:08:29 +00:00
|
|
|
language: node_js
|
2018-03-19 17:12:23 +00:00
|
|
|
sudo: false
|
2013-09-12 16:08:29 +00:00
|
|
|
node_js:
|
2017-05-30 19:22:52 +00:00
|
|
|
- "8"
|
2018-04-25 07:55:38 +00:00
|
|
|
- "10"
|
2019-04-23 20:44:15 +00:00
|
|
|
- "12"
|
2019-10-22 18:03:36 +00:00
|
|
|
- "13"
|
2018-01-03 08:41:46 +00:00
|
|
|
env:
|
|
|
|
- NPM_SCRIPT=test:browserless
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
# Run browser tests only on one Node.js version to save time.
|
2019-10-21 17:06:39 +00:00
|
|
|
- node_js: "12"
|
|
|
|
env:
|
|
|
|
- NPM_SCRIPT="test:browser"
|
|
|
|
- BROWSERS="ChromeHeadless,FirefoxHeadless"
|
|
|
|
addons:
|
|
|
|
chrome: stable
|
|
|
|
firefox: latest
|
2019-10-22 18:20:53 +00:00
|
|
|
# Run tests on Firefox ESR as well.
|
|
|
|
- node_js: "12"
|
|
|
|
env:
|
|
|
|
- NPM_SCRIPT="test:browser"
|
|
|
|
- BROWSERS="FirefoxHeadless"
|
|
|
|
addons:
|
|
|
|
firefox: latest-esr
|
2018-01-03 08:41:46 +00:00
|
|
|
script:
|
|
|
|
- npm run $NPM_SCRIPT
|