language: node_js
node_js:
  - "node"
before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - sleep 3
install:
  - npm install
  - npm install -g bower
  - bower install
script:
  - karma start karma.conf.js
after_script:
  - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

language: node_js
node_js:
  - "node"
before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - sleep 3
install:
  - yarn install
script:
  - karma start karma.conf.js
after_script:
  - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

Use yarn install instead of npm install on Travis
Use yarn install instead of npm install on Travis
