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 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