summaryrefslogtreecommitdiffstats
path: root/.circleci
diff options
context:
space:
mode:
authorFlorian Zschocke <florian.zschocke@devolo.de>2019-06-06 15:28:16 +0200
committerFlorian Zschocke <florian.zschocke@devolo.de>2019-06-07 12:57:25 +0200
commit845de9dbdd4a19ea7d4bd15d66fe9e22a16eae23 (patch)
tree3437033204cdefca45641cd42e74b32332b8472d /.circleci
parenta13f07850fccfb67c14737f1e09942e31023da66 (diff)
downloadgitblit-845de9dbdd4a19ea7d4bd15d66fe9e22a16eae23.tar.gz
gitblit-845de9dbdd4a19ea7d4bd15d66fe9e22a16eae23.zip
Migrate to Circle CI version 2
The new Circle CI requires a completely different configuration.
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml28
1 files changed, 28 insertions, 0 deletions
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
+