language: node_js
node_js:
  - "8"
  - "10"
  - "12"
  - "node"
sudo: false
install:
  - npm install
script:
  - if [ "x$BUNDLER" = "x" ]; then npm run test; fi
  - if [ "x$BUNDLER" != "x" ]; then npm run test-karma; fi
# only run karma tests for one node version
matrix:
  include:
  - name: "Browser Unit Tests (webpack)"
    node_js: "12"
    env: BUNDLER=webpack
  - name: "Browser Unit Tests (browserify)"
    node_js: "12"
    env: BUNDLER=browserify
notifications:
  email:
    on_success: change
    on_failure: change

language: node_js
node_js:
  - "8"
  - "10"
  - "12"
  - "14"
  - "node"
sudo: false
install:
  - npm install
script:
  - if [ "x$BUNDLER" = "x" ]; then npm run test; fi
  - if [ "x$BUNDLER" != "x" ]; then npm run test-karma; fi
# only run karma tests for one node version
matrix:
  include:
  - name: "Browser Unit Tests (webpack)"
    node_js: "12"
    env: BUNDLER=webpack
  - name: "Browser Unit Tests (browserify)"
    node_js: "12"
    env: BUNDLER=browserify
notifications:
  email:
    on_success: change
    on_failure: change

Add node 14 to CI.
Add node 14 to CI.