aboutsummaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorVitalii Diravka <vitalii.diravka@gmail.com>2019-03-03 22:55:25 +0200
committerkarthik <kmanivannan@maprtech.com>2019-03-08 13:49:40 -0800
commit4a79e2a52ad2dac64ba001645da1442f0b06fd62 (patch)
tree6257289244d5ce5d6973870a8e8a03649b517345 /.circleci
parent79c7ea559ed7adc0074438e6c0eb5aa2340419a6 (diff)
DRILL-6846: Add CircleCI Test Summary
closes #1678 - added CircleCI Test Summary - maven-surefire-plugin version udpate - license checkstyle goal is added to the TravisCI protobuf phase
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml53
1 files changed, 44 insertions, 9 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index bc8eb733d..31cb2cc67 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -48,13 +48,21 @@ jobs:
name: Drill project build
# TODO: 2. Optimizing Maven Builds on CircleCI - https://circleci.com/blog/optimizing-maven-builds-on-circleci/
# TODO: 3. 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"
+ command: >
+ mvn install -Drat.skip=false -Dlicense.skip=false -DmemoryMb=2560 -DdirectMemoryMb=4608
+ -DexcludedGroups="org.apache.drill.categories.SlowTest,org.apache.drill.categories.UnlikelyTest" --batch-mode
+ - run:
+ name: Save test results
+ command: |
+ mkdir -p ~/test-results/junit/
+ find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} ~/test-results/junit/ \;
+ when: always
+ - store_test_results:
+ path: ~/test-results
- save_cache:
paths:
- ~/.m2
key: m2-{{ checksum "pom.xml" }}
-
build_jdk9:
machine:
enabled: true
@@ -91,8 +99,17 @@ jobs:
sudo apt-get install libaio1 libaio-dev
- run:
name: Drill project 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"
+ command: >
+ mvn install -Drat.skip=false -Dlicense.skip=false -DmemoryMb=2560 -DdirectMemoryMb=4608
+ -DexcludedGroups="org.apache.drill.categories.SlowTest,org.apache.drill.categories.UnlikelyTest" --batch-mode
+ - run:
+ name: Save test results
+ command: |
+ mkdir -p ~/test-results/junit/
+ find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} ~/test-results/junit/ \;
+ when: always
+ - store_test_results:
+ path: ~/test-results
- save_cache:
paths:
- ~/.m2
@@ -134,8 +151,17 @@ jobs:
sudo apt-get install libaio1 libaio-dev
- run:
name: Drill project 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"
+ command: >
+ mvn install -Drat.skip=false -Dlicense.skip=false -DmemoryMb=2560 -DdirectMemoryMb=4608
+ -DexcludedGroups="org.apache.drill.categories.SlowTest,org.apache.drill.categories.UnlikelyTest" --batch-mode
+ - run:
+ name: Save test results
+ command: |
+ mkdir -p ~/test-results/junit/
+ find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} ~/test-results/junit/ \;
+ when: always
+ - store_test_results:
+ path: ~/test-results
- save_cache:
paths:
- ~/.m2
@@ -179,8 +205,17 @@ jobs:
name: Drill project build
# Set forkCount to 1 since tests use more memory and memory limitations for CircleCI is reached
# for default value of forkCount.
- command:
- mvn install -Drat.skip=false -Dlicense.skip=false -DmemoryMb=2560 -DdirectMemoryMb=4608 -DforkCount=1 -DexcludedGroups="org.apache.drill.categories.SlowTest,org.apache.drill.categories.UnlikelyTest"
+ command: >
+ mvn install -Drat.skip=false -Dlicense.skip=false -DmemoryMb=2560 -DdirectMemoryMb=4608 -DforkCount=1
+ -DexcludedGroups="org.apache.drill.categories.SlowTest,org.apache.drill.categories.UnlikelyTest" --batch-mode
+ - run:
+ name: Save test results
+ command: |
+ mkdir -p ~/test-results/junit/
+ find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} ~/test-results/junit/ \;
+ when: always
+ - store_test_results:
+ path: ~/test-results
- save_cache:
paths:
- ~/.m2