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

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


The following commit(s) were added to refs/heads/master by this push:
     new 5d540e9  SUBMARINE-297. Using the specify maven version in travis 
build system
5d540e9 is described below

commit 5d540e993d52c42a668dbbe7a46dc7a32cbe5e98
Author: Wanqiang Ji <[email protected]>
AuthorDate: Sat Nov 23 22:42:44 2019 +0800

    SUBMARINE-297. Using the specify maven version in travis build system
    
    ### What is this PR for?
    The travis build system used the latest version (3.6.2) of maven, but now 
it failed to build TonY (SUBMARINE-273), so we should using the fixed version 
(3.6.1).
    
    ### What type of PR is it?
    [Improvement]
    
    ### Todos
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/SUBMARINE-297
    
    ### How should this be tested?
    https://travis-ci.org/jiwq/submarine/builds/615996957
    
    ### Screenshots (if appropriate)
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No
    
    Author: Wanqiang Ji <[email protected]>
    
    Closes #101 from jiwq/SUBMARINE-297 and squashes the following commits:
    
    add29ad [Wanqiang Ji] SUBMARINE-297. Using the specify maven version in 
travis build system
---
 .travis.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index b8bf4fb..ac95101 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -47,6 +47,13 @@ env:
     - 
EXCLUDE_SUBMODULE_TONY="!submodules/tony,!submodules/tony/tony-mini,!submodules/tony/tony-core,!submodules/tony/tony-proxy,!submodules/tony/tony-portal,!submodules/tony/tony-azkaban,!submodules/tony/tony-cli"
 
 before_install:
+  # maven 3.6.1 (3.6.2 build tony failed!!!)
+  - echo "Download Maven 3.6.1"
+  - wget 
https://archive.apache.org/dist/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.tar.gz
+  - tar zxvf apache-maven-3.6.1-bin.tar.gz || travis_terminate 1
+  - export M2_HOME=$PWD/apache-maven-3.6.1
+  - export PATH=$M2_HOME/bin:$PATH
+  # mysql
   - sudo service mysql restart
   - mysql -e "create database submarine_test;"
   - mysql -e "CREATE USER 'submarine_test'@'%' IDENTIFIED BY 'password_test';"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to