language: node_js

node_js:
  - '6'
  - '8'
  - '10'
sudo: false

script:
  - npm test

notifications:
  irc:
    channels:
      - chat.freenode.net#datbots
    template:
      - '%{repository_slug} - %{commit_subject} - %{result} - %{build_url}'
    skip_join: true
    on_success: change
    on_failure: always

before_deploy: npm run package
deploy:
  provider: releases
  api_key:
    secure: GF+Ehh9kDu2m+KqSzciZRQmUfubnVGDEfxZKVX+psesKoxxDSq8/wkl7g1yR2H8DO0dg3lW8opbsKbfOOUWztyIfFxFukgwKIawUd7Krtr4XQLyywq49NdYARKP6bSxeEb8N3xVTo5fuq104KT0mMUB9di/iunsO/ITOzbCZyWE=
  skip_cleanup: true
  file_glob: true
  file: dist/*
  on:
    repo: datproject/dat
    node: '10'
    tags: true

language: node_js

node_js:
  - 'lts/*'
  - '8'
  - '10'
  - 'node'
sudo: false

script:
  - npm test

notifications:
  irc:
    channels:
      - chat.freenode.net#datbots
    template:
      - '%{repository_slug} - %{commit_subject} - %{result} - %{build_url}'
    skip_join: true
    on_success: change
    on_failure: always

before_deploy: npm run package
deploy:
  provider: releases
  api_key:
    secure: GF+Ehh9kDu2m+KqSzciZRQmUfubnVGDEfxZKVX+psesKoxxDSq8/wkl7g1yR2H8DO0dg3lW8opbsKbfOOUWztyIfFxFukgwKIawUd7Krtr4XQLyywq49NdYARKP6bSxeEb8N3xVTo5fuq104KT0mMUB9di/iunsO/ITOzbCZyWE=
  skip_cleanup: true
  file_glob: true
  file: dist/*
  on:
    repo: datproject/dat
    node: '10'
    tags: true

Update node versions to include latest/lts
Update node versions to include latest/lts