language: node_js
node_js:
  - "8"
  - "10"
  - "12"
services:
  - xvfb
before_script:
  - export CHROME_BIN=chromium-browser
  - export DISPLAY=:99.0
  - sleep 3
addons:
  chrome: stable
script: "./node_modules/karma/bin/karma start test/karma.conf.js --browsers Chrome_travis_ci --single-run --no-auto-watch --capture-timeout 300000"
cache: yarn
