---

language: node_js

cache: yarn

node_js:
  - lts/*
  - stable

cache: yarn

before_script:
  - yarn global add coveralls

script:
  - npm run testcov

after_success:
  - npm run --silent lcov | coveralls

deploy:
  - provider: npm
    email: 'devmonk@mediamonks.com'
    api_key: $NPM_TOKEN
    on:
      tags: true
      node: stable
    skip_cleanup: true
