Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 55 lines (49 sloc) 1.907 kb
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
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, libevent
  - sudo apt-get -qq install libmsgpack-dev libevent-dev
  # 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.4/zookeeper-3.4.4.tar.gz && tar xf zookeeper-3.4.4.tar.gz
  - pushd zookeeper-3.4.4/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
Something went wrong with that request. Please try again.