language: node_js
node_js:
  - "5.6"
  - "4.3"

before_install:
  - "export CHROME_BIN=chromium-browser"
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"

before_script:
  - npm install

script:
  - gulp test
  - gulp coverage
  - cat ./coverage/lcov.info | ./node_modules/.bin/coveralls

notifications:
  slack: chartjs:pcfCZR6ugg5TEcaLtmIfQYuA

sudo: false
addons:
  firefox: latest
language: node_js
node_js:
  - "5.6"
  - "4.3"

before_install:
  - "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"
  - "export CHROME_BIN=/usr/bin.google-chrome"

before_script:
  - npm install

script:
  - gulp test
  - gulp coverage
  - cat ./coverage/lcov.info | ./node_modules/.bin/coveralls

notifications:
  slack: chartjs:pcfCZR6ugg5TEcaLtmIfQYuA

sudo: required

addons:
  firefox: latest
Install latest chrome before running tests
Install latest chrome before running tests
