Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added .travis.yml. #11

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 80 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
language: cpp

compiler:
# gcc test is disabled (see Juabtus issue #120)
# - gcc
- clang

before_install:
- lsb_release -a
- uname -a
- sudo apt-get -qq update

install:
# msgpack
- sudo apt-get -qq install libmsgpack-dev
# glog
- wget http://google-glog.googlecode.com/files/glog-0.3.3.tar.gz && tar xf glog-0.3.3.tar.gz
- pushd glog-0.3.3 && ./configure && make && sudo make install && popd
- sudo ldconfig
# zookeeper
- wget http://apache.openmirror.de/zookeeper/zookeeper-3.4.5/zookeeper-3.4.5.tar.gz && tar xf zookeeper-3.4.5.tar.gz
- pushd zookeeper-3.4.5/src/c && ./configure && make && sudo make install && popd
- sudo ldconfig
# oniguruma
- wget http://www.geocities.jp/kosako3/oniguruma/archive/onig-5.9.4.tar.gz && tar xvf onig-5.9.4.tar.gz
- pushd onig-5.9.4 && ./configure && make && sudo make install && popd
- sudo ldconfig
# re2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is re2 required?

- hg clone https://re2.googlecode.com/hg re2
- pushd re2 && make && sudo make install && popd
- sudo ldconfig
# ux
- wget http://ux-trie.googlecode.com/files/ux-0.1.9.tar.bz2 && tar xf ux-0.1.9.tar.bz2
- pushd ux-0.1.9 && ./waf configure && ./waf build && sudo ./waf install && popd
- sudo ldconfig
# mecab
- wget http://mecab.googlecode.com/files/mecab-0.996.tar.gz && tar xf mecab-0.996.tar.gz
- pushd mecab-0.996 && ./configure --enable-utf8-only && make && sudo make install && popd
- sudo ldconfig
# mecab-ipadic
- wget http://mecab.googlecode.com/files/mecab-ipadic-2.7.0-20070801.tar.gz && tar xf mecab-ipadic-2.7.0-20070801.tar.gz
- pushd mecab-ipadic-2.7.0-20070801 && ./configure --with-charset=utf8 && make && sudo make install && popd
- sudo ldconfig

script:
# jubatus-mpio
- ./bootstrap
- ./configure
- make
- sudo make install
- sudo ldconfig

- mkdir depends_on_jubatus_mpio
- cd depends_on_jubatus_mpio

# jubatus-msgpack-rpc
- git clone https://github.com/jubatus/jubatus-msgpack-rpc.git
- pushd jubatus-msgpack-rpc/cpp
- git checkout develop
- ./bootstrap
- ./configure --with-jubatus-mpio=/usr/local
- make
- sudo make install
- popd
- sudo ldconfig
# jubatus
- git clone https://github.com/jubatus/jubatus.git
- pushd jubatus
- git checkout develop
- ./waf configure --enable-zookeeper --enable-mecab --enable-ux
- ./waf build --checkall
- popd

branches:
only:
- master
- develop

notifications:
email: false