sudo: false
language: node_js
cache:
  directories:
    - node_modules
notifications:
  email: true
node_js:
  - '8.9.4'
before_install:
  - npm i -g npm
before_script:
  - npm prune
  - npm run build
script:
  - npm run test
after_success:
  - npm run semantic-release
branches:
  only:
  - master
