From: Florian Zschocke Date: Thu, 6 Jun 2019 13:28:16 +0000 (+0200) Subject: Migrate to Circle CI version 2 X-Git-Tag: r1.9.0~48 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=845de9dbdd4a19ea7d4bd15d66fe9e22a16eae23;p=gitblit.git Migrate to Circle CI version 2 The new Circle CI requires a completely different configuration. --- diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..605be704 --- /dev/null +++ b/.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 + diff --git a/circle.yml b/circle.yml deleted file mode 100644 index fcf87867..00000000 --- a/circle.yml +++ /dev/null @@ -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" -