You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by mo...@apache.org on 2019/10/09 23:47:53 UTC

[zeppelin] branch master updated: [ZEPPELIN-4362] Remove 'flink' from build matrix from travis.yml and some minor improvement

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

moon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/master by this push:
     new 2a84711  [ZEPPELIN-4362] Remove 'flink' from build matrix from travis.yml and some minor improvement
2a84711 is described below

commit 2a8471107cc66665ec2a2d6bb61dfbd696f9c64f
Author: Lee moon soo <mo...@apache.org>
AuthorDate: Tue Oct 1 13:04:03 2019 -0700

    [ZEPPELIN-4362] Remove 'flink' from build matrix from travis.yml and some minor improvement
    
    ### What is this PR for?
    Remove 'flink' from build matrix because it is covered by other build matrix.
    Also apply multithread option to mvn command when goal is 'package'.
    
    This PR reduces +15 minutes of CI build time
    
    ### What type of PR is it?
    Improvement
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/ZEPPELIN-4362
    
    ### How should this be tested?
    * CI pass
    
    ### Screenshots (if appropriate)
    Before
    ![image](https://user-images.githubusercontent.com/1540981/66003516-2971ee00-e45b-11e9-89d8-dd8f239c1c73.png)
    
    After
    ![image](https://user-images.githubusercontent.com/1540981/66003491-195a0e80-e45b-11e9-8d6b-283d7099fd97.png)
    
    ### Questions:
    * Does the licenses files need update? no
    * Is there breaking changes for older versions? no
    * Does this needs documentation? no
    
    Author: Lee moon soo <mo...@apache.org>
    
    Closes #3471 from Leemoonsoo/ZEPPELIN-4362 and squashes the following commits:
    
    6395ee874 [Lee moon soo] remove flink matrix and use multithread build on 'package' goal
---
 .travis.yml | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index b0ee366..0cdd114 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -64,7 +64,7 @@ matrix:
     - sudo: required
       jdk: "openjdk8"
       dist: xenial
-      env: BUILD_FLAG="clean package -DskipTests" TEST_FLAG="test -DskipTests"
+      env: BUILD_FLAG="clean package -T C2 -DskipTests" TEST_FLAG="test -DskipTests"
 
     # Run e2e tests (in zeppelin-web)
     # chrome dropped the support for precise (ubuntu 12.04), so need to use trusty
@@ -88,13 +88,6 @@ matrix:
       dist: xenial
       env: PYTHON="3" SPARKR="true" PROFILE="-Pspark-2.2 -Phelium-dev -Pexamples -Pspark-scala-2.11" BUILD_FLAG="install -Pbuild-distr -DskipRat -DskipTests" TEST_FLAG="verify -Pusing-packaged-distr -DskipRat" MODULES="-pl ${INTERPRETERS}" TEST_PROJECTS="-Dtests.to.exclude=**/JdbcIntegrationTest.java,**/SparkIntegrationTest.java,**/ZeppelinSparkClusterTest.java,**/org/apache/zeppelin/spark/*,**/HeliumApplicationFactoryTest.java -DfailIfNoTests=false"
 
-    # Test flink module
-    - sudo: required
-      jdk: "openjdk8"
-      dist: xenial
-      env: PYTHON="3" SPARKR="true" PROFILE="-Pscala-2.11" BUILD_FLAG="clean install -Pbuild-distr -DskipRat -am" TEST_FLAG="verify -Pusing-packaged-distr -DskipRat" MODULES="-pl flink" TEST_PROJECTS="-DfailIfNoTests=false"
-
-
     # Test selenium with spark module for spark 2.3
     - jdk: "openjdk8"
       dist: xenial
@@ -183,7 +176,7 @@ before_install:
 install:
   - echo "mvn $BUILD_FLAG $MODULES $PROFILE -B"
   - mvn $BUILD_FLAG $MODULES $PROFILE -B
-  - if [ x"$BUILD_PLUGINS" == x"true" ]; then echo "mvn clean package -pl zeppelin-plugins -amd -B"; mvn clean package -pl zeppelin-plugins -amd -B; fi
+  - if [ x"$BUILD_PLUGINS" == x"true" ]; then echo "mvn clean package -T 2C -pl zeppelin-plugins -amd -B"; mvn clean package -T 2C -pl zeppelin-plugins -amd -B; fi
 
 before_script:
   - if [[ -n $SPARK_VER ]]; then travis_retry ./testing/downloadSpark.sh $SPARK_VER $HADOOP_VER; fi