Browse Source

Migrate to Circle CI version 2

The new Circle CI requires a completely different configuration.
tags/r1.9.0
Florian Zschocke 4 years ago
parent
commit
845de9dbdd
2 changed files with 28 additions and 22 deletions
  1. 28
    0
      .circleci/config.yml
  2. 0
    22
      circle.yml

+ 28
- 0
.circleci/config.yml View File

@@ -0,0 +1,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


+ 0
- 22
circle.yml View File

@@ -1,22 +0,0 @@
machine:
java:
version: openjdk7

compile:
pre:
- java -version
- javac -version
override:
- ant

test:
override:
- ant test
post:
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- cp -a build/tests/TEST-*.xml $CIRCLE_TEST_REPORTS/junit/

general:
artifacts:
- "build/target/reports"


Loading…
Cancel
Save