language: node_js
node_js:
  - 'stable'
before_script:
  - npm install -g phantomjs

language: node_js
node_js:
  - 'stable'
before_script:
  - npm install -g phantomjs
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
  - sleep 3 # give xvfb some time to start

Set up xvfb for browser tests
Set up xvfb for browser tests
