You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/07/16 16:04:33 UTC

[lucene-solr] 01/02: @214 - Add circleci config.

This is an automated email from the ASF dual-hosted git repository.

markrmiller pushed a commit to branch reference_impl
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git

commit a2d49b0a15b1750d2c86a3ba1f951d9223e6a9f7
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Thu Jul 16 11:00:00 2020 -0500

    @214 - Add circleci config.
---
 .circleci/config.yml | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 0000000..56b16f1
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,29 @@
+# Java Gradle CircleCI 2.0 configuration file
+#
+# Check https://circleci.com/docs/2.0/language-java/ for more details
+#
+version: 2
+jobs:
+  build:
+    environment:
+      # Configure the JVM and Gradle to avoid OOM errors
+      _JAVA_OPTIONS: "-Xmx3g"
+      GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dorg.gradle.workers.max=2"
+    docker:
+      # specify the version you desire here
+      - image: circleci/openjdk:11.0.3-jdk-stretch
+
+      # Specify service dependencies here if necessary
+      # CircleCI maintains a library of pre-built images
+      # documented at https://circleci.com/docs/2.0/circleci-images/
+      # - image: circleci/postgres:9.4
+
+    steps:
+      - checkout
+      - run: ./gradlew -p solr test
+      - store_test_results:
+          path: solr
+
+
+    working_directory: ~/lucenesolr
+