language: node_js

node_js:
  - 4
  - 5

script:
  - npm run depcheck -- --web-report
  - npm run build
  - npm run test-coverage
  - cat ./coverage/coverage.json | ./node_modules/codecov.io/bin/codecov.io.js

deploy:
  provider: azure_web_apps
  on:
    tags: true
    node: 4

before_deploy:
  - git checkout -b master

after_deploy:
  - curl https://depcheck.tk

language: node_js

node_js:
  - 4
  - 5

script:
  - npm run depcheck -- --web-report
  - npm run build
  - npm run test-coverage
  - cat ./coverage/coverage.json | ./node_modules/codecov.io/bin/codecov.io.js

deploy:
  provider: azure_web_apps
  on:
    tags: true
    node: 5

before_deploy:
  - git checkout -b master

after_deploy:
  - curl https://depcheck.tk

Deploy from node v5 matrix.
Deploy from node v5 matrix.

- Because build speed of v5 is much faster than v4.
