ソースを参照

Migrate to Circle CI version 2

The new Circle CI requires a completely different configuration.
tags/r1.9.0
Florian Zschocke 4年前
コミット
845de9dbdd
2個のファイルの変更28行の追加22行の削除
  1. 28
    0
      .circleci/config.yml
  2. 0
    22
      circle.yml

+ 28
- 0
.circleci/config.yml ファイルの表示

@@ -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 ファイルの表示

@@ -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"


読み込み中…
キャンセル
保存