machine:

  timezone:
    America/Los_Angeles

  java:
    version:
      oraclejdk8

  environment:
    JAVA_OPTS: "-Xmx1g"
    MAVEN_OPTS: "-Xmx1g -DcheckedArithmetic=true"
    TERM: dumb

dependencies:
  override:
    # :go-offline will download too much; :resolve-plugins is as good as we can do up-front.
    - mvn -B dependency:resolve-plugins

general:
  branches:
    ignore:
      - /rel\/.*/
  artifacts:
    - "gosu-test/target/site" # preserve the generated HTML test reports
    - mvn_output.log

test:
  # Adds profile to pick up Gosu tests
  override:
    - mvn -B integration-test deploy -s settings.xml | tee mvn_output.log
  post:
    - mkdir -p $CIRCLE_TEST_REPORTS/junit/
    - find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;

machine:

  timezone:
    America/Los_Angeles

  java:
    version:
      oraclejdk8

  environment:
    JAVA_OPTS: "-Xmx1g"
    MAVEN_OPTS: "-Xmx1g -DcheckedArithmetic=true"
    TERM: dumb

dependencies:
  override:
    # :go-offline will download too much; :resolve-plugins is as good as we can do up-front.
    - mvn -B dependency:resolve-plugins

general:
  branches:
    ignore:
      - /rel\/.*/
  artifacts:
    - "gosu-test/target/site" # preserve the generated HTML test reports

test:
  # Adds profile to pick up Gosu tests
  override:
    - mvn -B integration-test deploy -s settings.xml
  post:
    - mkdir -p $CIRCLE_TEST_REPORTS/junit/
    - find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;

Fix unexpected build success on CI
Fix unexpected build success on CI
