forked from jubatus/jubatus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (58 loc) · 2.3 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
language: cpp
compiler:
# gcc test is disabled (see #120)
# - gcc
- clang
before_install:
- env
- lsb_release -a
- uname -a
- sudo apt-get -qq update
install:
# msgpack
- sudo apt-get -qq install libmsgpack-dev liblog4cxx10-dev
# jubatus-mpio
- git clone https://github.com/jubatus/jubatus-mpio.git
- pushd jubatus-mpio && git checkout develop && ./bootstrap && ./configure && make && sudo make install && popd
- sudo ldconfig
# 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
# zookeeper
- wget http://apache.openmirror.de/zookeeper/zookeeper-3.4.8/zookeeper-3.4.8.tar.gz && tar xf zookeeper-3.4.8.tar.gz
- pushd zookeeper-3.4.8/src/c && ./configure && make && sudo make install && popd
- sudo ldconfig
# oniguruma
- wget https://github.com/kkos/oniguruma/releases/download/v5.9.6/onig-5.9.6.tar.gz && tar xvf onig-5.9.6.tar.gz
- pushd onig-5.9.6 && ./configure && make && sudo make install && popd
- sudo ldconfig
# re2
- 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
# jubatus_core
- git clone https://github.com/jubatus/jubatus_core.git
- pushd jubatus_core && git checkout ${TRAVIS_BRANCH} && ./waf configure && ./waf && sudo ./waf install && popd
- sudo ldconfig
script:
- ./waf configure --enable-zookeeper --enable-mecab --enable-ux
- ./waf build --checkall
branches:
only:
- master
- develop
notifications:
email: false