[Groonga-commit] groonga/groonga [master] travis: support master use

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Aug 14 11:44:00 JST 2012


Kouhei Sutou	2012-08-14 11:44:00 +0900 (Tue, 14 Aug 2012)

  New Revision: cd36c602f53f964d87af7d65e56a78bd5e14a1ec
  https://github.com/groonga/groonga/commit/cd36c602f53f964d87af7d65e56a78bd5e14a1ec

  Log:
    travis: support master use

  Modified files:
    data/travis/setup.sh

  Modified: data/travis/setup.sh (+12 -0)
===================================================================
--- data/travis/setup.sh    2012-08-14 11:34:35 +0900 (2525687)
+++ data/travis/setup.sh    2012-08-14 11:44:00 +0900 (4e1a4d4)
@@ -3,6 +3,17 @@
 set -e
 set -x
 
+if [ "$GROONGA_MASTER" = "yes" ]; then
+    sudo apt-get -y -V install autotools-dev pkg-config libmecab-dev \
+	libmsgpack-dev libevent-dev
+    git clone https://github.com/groonga/groonga.git
+    cd groonga
+    ./autogen.sh
+    ./configure --prefix=/usr --localstatedir=/var --with-debug
+    make -j$(grep '^processor' /proc/cpuinfo | wc -l) > /dev/null
+    sudo make install > /dev/null
+    cd ..
+else
 distribution=$(lsb_release --short --id | tr 'A-Z' 'a-z')
 code_name=$(lsb_release --short --codename)
 case $distribution in
@@ -24,3 +35,4 @@ sudo apt-get -y --allow-unauthenticated install groonga-keyring
 sudo apt-get -y purge zeromq
 sudo apt-get update
 sudo apt-get -y -V install groonga libgroonga-dev
+fi
-------------- next part --------------
HTML����������������������������...
다운로드 



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