-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
32 lines (32 loc) · 1.06 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
language: cpp
compiler:
- gcc
before_script:
- sudo apt-get install subversion libboost-all-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev >> out 2>> error
- cd dep/boost/
- sh install.sh >> out 2>> error
- cd ..
- cd ..
- cd dep/thrift-0.3.0/
- ./configure --with-py=no --with-ruby=no --with-perl=no --with-java=no --prefix=/home/travis/builds/zhangce/thrift >> out 2>> error
- make >> out 2>> error
- make install >> out 2>> error
- cd ..
- cd ..
- cmake -DThrift_INCLUDE_DIR=/home/travis/builds/zhangce/thrift/include -DThrift_LIB=/home/travis/builds/zhangce/thrift/lib . >> out 2>> error
script: make >> out 2>> error
after_script:
- export LD_LIBRARY_PATH=/home/travis/builds/zhangce/thrift/lib
- ./bin/elementary --config=examples/elly/config_test_lda.cfg
- python examples/elly/LDA/view.py examples/elly/RS/lda-sample.txt examples/elly/LDA/int_word.tsv
branches:
only:
- master
notifications:
recipients:
email:
on_success: change
on_failure: always
rvm:
- 1.9.3