You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by si...@apache.org on 2018/02/17 00:11:42 UTC

[bookkeeper] branch master updated: Fix the travis config on building dlog module

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 86d3f61  Fix the travis config on building dlog module
86d3f61 is described below

commit 86d3f619f75e27397b05ccaa70a0bfd88169035d
Author: Sijie Guo <si...@apache.org>
AuthorDate: Sat Feb 17 08:11:32 2018 +0800

    Fix the travis config on building dlog module
    
    Descriptions of the changes in this PR:
    
    The original intention is building dlog module on 1) branches (non pull requests) 2) pull requests that modify dlog module. However the check logic was wrong in travis.yml. This change fixes the travis yml.
    
    Author: Sijie Guo <si...@apache.org>
    
    Reviewers: Ivan Kelly <iv...@apache.org>
    
    This closes #1154 from sijie/debug_travis
---
 .travis.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 353abd2..b679f21 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -44,7 +44,8 @@ before_install:
     if [ "$TRAVIS_OS_NAME" == "linux" ]; then
         jdk_switcher use "$CUSTOM_JDK";
     fi
-    if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
+    echo "TRAVIS_PULL_REQUEST=${TRAVIS_PULL_REQUEST}"
+    if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
         export DLOG_MODIFIED="true"  
         echo "Enable testing distributedlog modules since they are not pull requests."
     else

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