language: node_js
node_js:
  - "8"
  - "10"
  - "11"
  - "12"
install:
  - npm install
script:
  - npm test
  - npm run cloc
after_success: npm run coverage

deploy:
  provider: npm
  email: kylart.dev@gmail.com
  api_key: $NPM_TOKEN
  on:
    branch: master

notifications:
  email: false