language: java

dist: bionic

before_install:
    - sudo apt-get update
    - sudo apt-get install -y xmlstarlet ant ant-optional

install:
    - ant -diagnostics

script:
    - xmlstarlet val -e -s xsd/eml.xsd src/test/resources/eml-sample.xml
    - ant test
