language: node_js
node_js:
  - "5"
script:
  - npm run lint
  - npm run test:ci

language: node_js
node_js:
  - "5"
before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - sleep 3 # give xvfb some time to start
script:
  - npm run lint
  - npm run test:ci

Use xvfb for testing on CI
Use xvfb for testing on CI
