forked from jubatus/jubatus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (57 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
language: cpp
compiler:
# Disable gcc until Travis migrates to 64-bit environment (see #120)
# - gcc
- clang
before_install:
- lsb_release -a
- uname -a
- sudo apt-get -qq update
install:
# msgpack
- sudo apt-get -qq install libmsgpack-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
# glog
- wget http://google-glog.googlecode.com/files/glog-0.3.2.tar.gz && tar xf glog-0.3.2.tar.gz
- pushd glog-0.3.2 && ./configure && make && sudo make install && popd
- sudo ldconfig
# pficommon
- git clone git://github.com/pfi/pficommon.git
- pushd pficommon && ./waf configure --disable-database --disable-fcgi --disable-magickpp && ./waf build && sudo ./waf 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
# 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.8.tar.bz2 && tar xf ux-0.1.8.tar.bz2
- pushd ux-0.1.8 && ./waf configure && ./waf build && sudo ./waf install && popd
- sudo ldconfig
# mecab
- wget http://mecab.googlecode.com/files/mecab-0.994.tar.gz && tar xf mecab-0.994.tar.gz
- pushd mecab-0.994 && ./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:
- ./waf configure --enable-zookeeper --enable-mecab --enable-ux
- ./waf build --checkall
branches:
only:
- master
- develop
notifications:
email: false