language: node_js

node_js:
  - 6

script: npm test -- --coverage; and cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

install:
  - npm i -g npm@latest
  - npm install

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

notifications:
  email:
    on_failure: change

after_success: 'npm test -- --coverage'

cache:
  directories:
    - node_modules

language: node_js

node_js:
  - 6

script: npm test -- --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

install:
  - npm i -g npm@latest
  - npm install

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

notifications:
  email:
    on_failure: change

after_success: 'npm test -- --coverage'

cache:
  directories:
    - node_modules

Change fish shell to bash
Change fish shell to bash
