language: node_js

node_js:
  - '12'
  - '14'
  - '15'

branches:
  only:
    - master
    - travis-ci

install:
  - for dir in mingle.*; do (cd $dir && [ -e package.json ] && npm install --no-save --no-package-lock || true); done && git checkout .
  - npm install -g nyc prove

script:
  - for dir in mingle.*; do (cd $dir && [ -e package.json ] && nyc npm test || true); done

language: node_js

node_js:
  - '12'
  - '14'
  - '15'

branches:
  only:
    - master
    - travis-ci

install:
  - for dir in mingle.*; do (cd $dir && [ -e package.json ] && npm install --no-save --no-package-lock || true); done && git checkout .
  - npm install -g nyc prove

script:
  - bash -c 'for dir in mingle.*; do (cd $dir && { [[ ! -e package.json || -e skip ]] && true; } || npm test) || exit 1; done'

Exit on sub-module test failure at Travis CI.
Exit on sub-module test failure at Travis CI.
