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

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


The following commit(s) were added to refs/heads/master by this push:
     new 8555430  Use travis_wait on running mvn test on travis
8555430 is described below

commit 85554309046597982ab649782e5a39f93de1e892
Author: Sijie Guo <si...@apache.org>
AuthorDate: Mon Feb 19 15:43:01 2018 -0800

    Use travis_wait on running mvn test on travis
    
    Descriptions of the changes in this PR:
    
    *Problem*
    
    The travis build can take more than 30 minutes, which exceeds the default 
limit. so the travis builds on master usually fail
    
    *Solution*
    
    Configure the travis build to use `travis_wait` and configure a higher 
timeout value.
    
    This was set in dlog travis build : 
https://github.com/apache/distributedlog/blob/master/.travis.yml#L41
    
    Author: Sijie Guo <si...@apache.org>
    
    Reviewers: Enrico Olivelli <eolive...@gmail.com>
    
    This closes #1174 from sijie/use_tick_toc
---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index b679f21..c56c458 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -60,7 +60,7 @@ script:
   - travis_retry mvn --batch-mode clean apache-rat:check compile 
spotbugs:check install -DskipTests
   - if [ "$TRAVIS_OS_NAME" == "linux" ]; then dev/check-binary-license 
./bookkeeper-dist/all/target/bookkeeper-all-${BK_VERSION}-bin.tar.gz; fi
   - if [ "$TRAVIS_OS_NAME" == "linux" ]; then dev/check-binary-license 
./bookkeeper-dist/server/target/bookkeeper-server-${BK_VERSION}-bin.tar.gz; fi
-  - if [ "$DLOG_MODIFIED" == "true" ]; then cd stream/distributedlog && mvn 
--batch-mode clean package -Ddistributedlog; fi
+  - if [ "$DLOG_MODIFIED" == "true" ]; then cd stream/distributedlog && 
travis_wait 60 mvn --batch-mode clean package -Ddistributedlog; fi
 # Disabled the tests here. Since tests are running much slower on Travis than 
on Jenkins
 #  - ./dev/ticktoc.sh "mvn --batch-mode clean package"
 

-- 
To stop receiving notification emails like this one, please contact
si...@apache.org.

Reply via email to