language: node_js

node_js:
  - "10"
  - "12"
  - "14"

env:
  - INSTALL_JDK=1
  - INSTALL_JDK=0

before_install:
  - if [[ "$INSTALL_JDK" == "1" ]] ; then make install_jdk ; fi

install:
  - yarn install --production=true

script:
  - yarn add @authenio/samlify-xsd-schema-validator
  - yarn test --timeout=30s

branches:
  only:
  - master
  - /^.*-alpha$/
  - /^.*-rc.*$/
  - /^feature\/.*$/

after_success: npm run coverage
language: node_js

node_js:
  - "10"
  - "12"
  - "14"
  - "16"

env:
  - INSTALL_JDK=1
  - INSTALL_JDK=0

before_install:
  - if [[ "$INSTALL_JDK" == "1" ]] ; then make install_jdk ; fi

install:
  - yarn install --production=true

script:
  - yarn add @authenio/samlify-xsd-schema-validator
  - yarn test --timeout=30s

branches:
  only:
  - master
  - /^.*-alpha$/
  - /^.*-rc.*$/
  - /^feature\/.*$/

after_success: npm run coverage
Cover node v16 in test
Cover node v16 in test
