[ 
https://issues.apache.org/jira/browse/DRILL-6876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16705782#comment-16705782
 ] 

ASF GitHub Bot commented on DRILL-6876:
---------------------------------------

vvysotskyi commented on a change in pull request #1558: DRILL-6876: Enable 
CircleCI builds for JDK 9-11
URL: https://github.com/apache/drill/pull/1558#discussion_r238058714
 
 

 ##########
 File path: .circleci/config.yml
 ##########
 @@ -49,3 +49,132 @@ jobs:
         # TODO: 4. Resolving memory issues without "SlowTest" and 
"UnlikelyTest" excludedGroups in the build
         command:
           mvn install -Drat.skip=false -Dlicense.skip=false -DmemoryMb=2560 
-DdirectMemoryMb=4608 
-DexcludedGroups="org.apache.drill.categories.SlowTest,org.apache.drill.categories.UnlikelyTest"
+
+  build_jdk9:
+    machine:
+      enabled: true
+      image: circleci/classic:latest
+    parallelism: 1
+
+    working_directory: ~/drill
+
+    steps:
+    - checkout
+
+    - run:
+        name: Update packages list
+        command:
+          sudo apt-get update
+
+    - run:
+        name: Install java 9
+        command:
+          sudo apt-get -y install openjdk-9-jdk
+
+    - run:
+        name: Set default java 9
+        command:
+          sudo update-java-alternatives --set java-1.9.0-openjdk-amd64
+
+    - run:
+        name: Update maven version
+        command:
+          curl -fsSL https://git.io/vpDIf | bash -s -- 3.5.4
 
 Review comment:
   Thanks, done.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Enable CircleCI builds for JDK 9-11
> -----------------------------------
>
>                 Key: DRILL-6876
>                 URL: https://issues.apache.org/jira/browse/DRILL-6876
>             Project: Apache Drill
>          Issue Type: Sub-task
>          Components: Tools, Build & Test
>    Affects Versions: 1.14.0
>            Reporter: Volodymyr Vysotskyi
>            Assignee: Volodymyr Vysotskyi
>            Priority: Major
>             Fix For: Future
>
>
> Currently, CircleCI runs tests for JDK 8, but Drill also supports JDK 9-11.
> The aim of this Jira is to allow running tests for JDK9 and 10 and build for 
> JDK 11 (due to the memory limitations of CircleCI).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to