summaryrefslogtreecommitdiffstats
path: root/.circleci/config.yml
blob: 605be7040d0fc1a21eb8bc488515983b0881a2f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
version: 2

jobs:
  build:
    docker:
      - image: circleci/openjdk:8-jdk

    steps:
      - run:
          name: Report on build environment
          command: |
            java -version
            javac -version

      - checkout
      - run: ant

      - run: ant test
      - run:
          name: Collect test results
          command: |
            mkdir -p test_reports/junit/
            cp -a build/tests/TEST-*.xml test_reports/junit/
      - store_test_results:
          path: test_reports
      - store_artifacts:
          path:  build/target/reports