language: node_js
node_js:
  - 6
  - 7
before_install:
  - export CHROME_BIN=chromium-browser
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
script: npm run karma start

sudo: required
dist: trusty
language: node_js
node_js:
  - 6
  - 7
addons:
  firefox: "latest"
before_install:
 - export CHROME_BIN=/usr/bin/google-chrome
 - export DISPLAY=:99.0
 - sh -e /etc/init.d/xvfb start
 - sudo apt-get update
 - sudo apt-get install -y libappindicator1 fonts-liberation
 - wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
 - sudo dpkg -i google-chrome*.deb
script: npm run karma start

Use latest versions of Firefox and Chrome in Travis
Use latest versions of Firefox and Chrome in Travis
