language: node_js

node_js:
  - 0.10
  - 0.12

# Use container-based Travis infrastructure.
sudo: false

branches:
  only:
    - master

before_install:
  # GUI for real browsers.
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start

script:
  - npm run check-ci

  # Prune deps to just production and ensure we can still build
  - npm prune --production
  - npm install --production
  - npm run build

language: node_js

node_js:
  - 0.10
  - 0.12
  - 4.2

# Use container-based Travis infrastructure.
sudo: false

branches:
  only:
    - master

before_install:
  # GUI for real browsers.
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start

script:
  - npm run check-ci

  # Prune deps to just production and ensure we can still build
  - npm prune --production
  - npm install --production
  - npm run build

Add Node 4.2 to Travis build
Add Node 4.2 to Travis build