[Groonga-commit] groonga/groonga at 456eced [master] travis: clone master branch only

Back to archive index

HAYASHI Kentaro null+****@clear*****
Mon May 25 13:52:52 JST 2015


HAYASHI Kentaro	2015-05-25 13:52:52 +0900 (Mon, 25 May 2015)

  New Revision: 456eced55006634415e21bca80cb5df48f7c066c
  https://github.com/groonga/groonga/commit/456eced55006634415e21bca80cb5df48f7c066c

  Message:
    travis: clone master branch only
    
    It reduces a cost of clone.
    
    Before:
    
      git clone --depth 1 --recursive git �� github.com:groonga/groonga groonga.depth1  6.27s user 2.24s system 16% cpu 52.319 total
    
    After:
    
      git clone --depth 1 --recursive --branch master git �� github.com:groonga/groonga  6.18s user 2.04s system 24% cpu 33.450 total

  Modified files:
    data/travis/setup.sh

  Modified: data/travis/setup.sh (+1 -1)
===================================================================
--- data/travis/setup.sh    2015-05-23 17:49:34 +0900 (df5e3af)
+++ data/travis/setup.sh    2015-05-25 13:52:52 +0900 (a05e7db)
@@ -21,7 +21,7 @@ set -e
 if [ "$GROONGA_MASTER" = "yes" ]; then
     sudo apt-get install -qq -y -V autotools-dev pkg-config libmecab-dev \
 	libmsgpack-dev libevent-dev
-    git clone --recursive --depth 1 https://github.com/groonga/groonga.git
+    git clone --recursive --depth 1 --branch master https://github.com/groonga/groonga.git
     cd groonga
     ./autogen.sh
     ./configure --prefix=/usr --localstatedir=/var --enable-debug
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index