sudo: false
language: node_js
cache:
  directories:
    - node_modules
branches:
  only:
    - master
notifications:
  email: false
node_js:
  - "node"
before_install:
  - npm i -g npm@^2.0.0
before_script:
  - npm prune
script:
  - npm run eslint
  - npm t
  - npm run check-coverage
after_success:
  - npm run report-coverage
  - npm run semantic-release

sudo: false
language: node_js
cache:
  directories:
    - node_modules
branches:
  only:
    - master
notifications:
  email: false
node_js:
  - "node"
before_install:
  - npm i -g npm@^3.0.0
before_script:
  - npm prune
script:
  - npm run eslint
  - npm t
  - npm run check-coverage
after_success:
  - npm run report-coverage
  - npm run semantic-release

Update npm version used for builds
chore(build): Update npm version used for builds
