language: node_js

env:
  - TARGET=test

node_js:
  - 8
  - 10
  - 12
  - node

matrix:
  include:
    - name: Lint
      node_js: 12
      env:
        - TARGET=lint
    - name: Coverage
      node_js: 12
      env:
        - TARGET=coverage
    - name: Documentation
      node_js: 12
      env:
        - TARGET=test-docs

script: npm run $TARGET
after_success: '<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js'

language: node_js

env:
  - TARGET=test

node_js:
  - 10
  - 12
  - 14
  - node

matrix:
  include:
    - name: Lint
      node_js: 12
      env:
        - TARGET=lint
    - name: Coverage
      node_js: 12
      env:
        - TARGET=coverage
    - name: Documentation
      node_js: 12
      env:
        - TARGET=test-docs

script: npm run $TARGET
after_success: '<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js'

Drop node.js 8 support (semver-major)
Drop node.js 8 support (semver-major)
