machine:
   java:
       version: oraclejdk8
dependencies:
    override:
        - git submodule sync
        - git submodule update --init
test:
    override:
        - ./setup.sh
    post:
        - cp -r target/glowstone*.jar $CIRCLE_ARTIFACTS/
        - mkdir -p $CIRCLE_TEST_REPORTS/junit/
        - find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
