Navigation Menu

Skip to content

Commit

Permalink
travis: support master use
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 14, 2012
1 parent 8225137 commit cd36c60
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions data/travis/setup.sh
Expand Up @@ -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
Expand All @@ -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

0 comments on commit cd36c60

Please sign in to comment.