language:
  node_js
install:
  - npm install -g codecov
script:
  - istanbul cover ./node_modules/mocha/bin/_mocha --reporter lcovonly -- -R spec
  - codecov
coverage:
  status:
    project:
      default:
        target: 75
        if_no_uploads: error
        if_not_found: success
        if_ci_failed: error
        only_pulls: true
    patch:
        enabled: false