language: node_js
node_js:
  - "10"
  - "12"
  - "14"
  - "node"
sudo: false
install:
  - npm install
  - npm run fetch-test-suite
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:
#  - node_js: "6"
#    env: BUNDLER=webpack
#  - node_js: "6"
#    env: BUNDLER=browserify
notifications:
  email:
    on_success: change
    on_failure: change
