sudo: required
dist: trusty
os:
  - linux
  - osx
cache:
  directories:
    - node_modules
notifications:
  email: false
language: node_js
node_js:
  - 7
  - 6
  - 4
install:
  - npm install
branches:
  only:
    - master
before_script:
  - npm prune
script:
  - npm run build