language: node_js
node_js:
  - "0.12"
  - 4
  - 6
addons:
  apt:
    packages:
      - xvfb
before_install: if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
install:
  - export DISPLAY=':99.0'
  - Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
  - npm install
  - node_modules/.bin/lerna bootstrap
script:
  - npm run bootstrap
  - npm run test

language: node_js
node_js:
  - 4
  - 6
addons:
  apt:
    packages:
      - xvfb
before_install: if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
install:
  - export DISPLAY=':99.0'
  - Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
  - npm install
  - node_modules/.bin/lerna bootstrap
script:
  - npm run bootstrap
  - npm run test

Test only on LTS node versions
Test only on LTS node versions
