benjamincharity
11/30/2016 - 1:33 AM

Enable TravisCI to run Chromium. This allows you to run Karma & Protractor tests.

Enable TravisCI to run Chromium. This allows you to run Karma & Protractor tests.

" Karma should have 'Chrome' in the browsers array in karma.conf.js:
" browsers: ['Chrome']

dist: trusty
sudo: required
os:
  - linux
env:
  global:
    - DBUS_SESSION_BUS_ADDRESS=/dev/null
    - DISPLAY=:99.0
    - CHROME_BIN=chromium-browser
before_script:
  - sh -e /etc/init.d/xvfb start
script:
  " Run your tests