language: node_js

node_js:
  - "0.10"
  - "0.12"
  - "4.2"

# Use container-based Travis infrastructure.
sudo: false

branches:
  only:
    - master

env:
  matrix:
    - NPM_3=true
    - NPM_3=false

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

  # Potentially update to npm 3
  - 'if [ "$NPM_3" = true ]; then npm install -g npm@3; else true; fi'
  - npm --version

script:
  - npm run builder:check

language: node_js

node_js:
  - "0.10"
  - "0.12"
  - "4.2"

# Use container-based Travis infrastructure.
sudo: false

branches:
  only:
    - master

env:
  matrix:
    - NPM_3=true
    - NPM_3=false

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

  # Potentially update to npm 3
  - 'if [ "$NPM_3" = true ]; then npm install -g npm@3; else true; fi'

script:
  - npm --version
  - npm run builder:check

Check npm version in scripts
Check npm version in scripts
