language: node_js # Temporary workaround. # Karma can't access the binaries on travis # without root access. # See https://github.com/travis-ci/travis-ci/issues/8836 sudo: required node_js: - "4" - "6" - "8" - "9" addons: chrome: stable env: - NPM_SCRIPT=test:browserless matrix: include: # Run browser tests only on one Node.js version to save time. - node_js: "8" env: NPM_SCRIPT=test:browser script: - npm run $NPM_SCRIPT