language: node_js
sudo: false
node_js:
  - 4
  - 6
addons:
  apt:
    packages:
      - xvfb
cache:
  yarn: true
before_install:
  - curl -o- -L https://yarnpkg.com/install.sh | bash
  - export PATH=$HOME/.yarn/bin:$PATH
install:
  - export DISPLAY=':99.0'
  - Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
  - yarn install
script:
  - yarn run lint
  - lerna bootstrap --ignore={benchmarks,demos} --concurrency=1
  - lerna run pretest --ignore={benchmarks,demos}
  - lerna run test --ignore={benchmarks,demos} --concurrency=1
  - yarn run tsc

language: node_js
sudo: false
node_js:
  - 6
addons:
  apt:
    packages:
      - xvfb
cache:
  yarn: true
before_install:
  - curl -o- -L https://yarnpkg.com/install.sh | bash
  - export PATH=$HOME/.yarn/bin:$PATH
install:
  - export DISPLAY=':99.0'
  - Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
  - yarn install
script:
  - yarn run lint
  - lerna bootstrap --ignore={benchmarks,demos} --concurrency=1
  - lerna run pretest --ignore={benchmarks,demos}
  - lerna run test --ignore={benchmarks,demos} --concurrency=1
  - yarn run tsc

Stop testing on Node 4
Stop testing on Node 4
