machine:
  java:
    version: oraclejdk8
general:
  artifacts:
    - "target/AuthMe-*.jar"
test:
  override:
    - mvn clean install -B
  post:
    - cp ./target/AuthMe-*.jar $CIRCLE_ARTIFACTS
    - cp ./target/AuthMe-*.jar $CIRCLE_ARTIFACTS/AuthMe.jar
    - mkdir -p $CIRCLE_TEST_REPORTS/junit/
    - find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
notify:
  webhooks:
    - url: https://webhooks.gitter.im/e/7b92ac1a1741748b26bf
