language: cpp
os:
  - osx
  - linux
osx_image: xcode7.2
sudo: required
dist: trusty

cache:
  directories:
    - node_modules

before_install:
  - "export DISPLAY=:99.0"
  - scripts/bootstrap.py
  - sleep 3

install:
  - nvm --version
  - nvm install 5.9
  - node --version
  - npm --version
  - npm install --progress false --depth 0
  - npm install -g flow-bin

script:
  - flow check
  - npm test

after_success:
  - npm run package
  - npm run coverage

branches:
  only:
    - master

language: cpp
os:
  - osx
  - linux
osx_image: xcode7.2
sudo: required
dist: trusty

cache:
  directories:
    - node_modules

before_install:
  - "export DISPLAY=:99.0"
  - scripts/bootstrap.py
  - sleep 3

install:
  - nvm --version
  - nvm install 5.9
  - node --version
  - npm --version
  - npm install --progress false --depth 0

script:
  - npm test

after_success:
  - npm run package
  - npm run coverage

branches:
  only:
    - master

Revert "Run flow check in CI." r=me
Revert "Run flow check in CI." r=me

This reverts commit 5fa009784e7e51993542dd73e193decc3faa8937.
