language: node_js
node_js:
    - 0.12
    - 4
    - 5.5
before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
script: npm test
sudo: false
addons:
  firefox: "50.0"

language: node_js
node_js:
    - 4
    - 6
    - node
before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
script: npm test
sudo: false
addons:
  firefox: latest

Test with the latest node
Test with the latest node
