sudo: false
language: node_js
cache:
  directories:
    - node_modules
notifications:
  email: false
node_js:
  - '4'
before_install:
  - npm i -g npm@^2.0.0
before_script:
  - npm prune
script:
  - npm run test
  - npm run coverage
after_success:
  - npm run report:coverage
  - npm run semantic-release
  - npm run build:production
branches:
  only:
    - master

sudo: false
language: node_js
cache:
  directories:
    - node_modules
notifications:
  email: false
node_js:
  - '4'
before_install:
  - npm i -g npm@^2.0.0
before_script:
  - npm prune
script:
  - npm run test
  - npm run coverage
after_success:
  - npm run report:coverage
  - npm run build:production
  - npm run semantic-release
branches:
  only:
    - master

Create build before releasing, not after
chore(release): Create build before releasing, not after
