language: node_js

node_js:
  - 'node'

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

install:
  - npm install
  - npm install codeclimate-test-reporter

after_script:
  - codeclimate-test-reporter < coverage/lcov.info

addons:
  code_climate:
    repo_token: f45df226a75d3a1995f101fe89920334b4114ce4f2aa1256dcbb3a36884b6040
