forked from baidu/galaxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
executable file
·23 lines (23 loc) · 1.15 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
language: cpp
compiler: gcc
env:
- PROTOBUF_VERSION=2.6.0
install:
- sudo apt-get install libleveldb-dev
- sudo apt-get install libboost-dev python-pip libsnappy-dev
- wget https://github.com/google/protobuf/releases/download/v$PROTOBUF_VERSION/protobuf-$PROTOBUF_VERSION.tar.gz
- tar xf protobuf-$PROTOBUF_VERSION.tar.gz
- ( cd protobuf-$PROTOBUF_VERSION && ./configure && make -j4 && sudo make install && sudo ldconfig )
- git clone https://github.com/google/snappy
- ( cd snappy && sh ./autogen.sh && ./configure && make -j2 && sudo make install )
- sudo apt-get install zlib1g-dev
- git clone https://github.com/bluebore/sofa-pbrpc ./thirdparty/sofa-pbrpc
- ( cd thirdparty/sofa-pbrpc && make -j4 && make install && cd python && sudo python setup.py install)
- sudo apt-get install libcurl4-openssl-dev
- sudo pip install nose protobuf
- wget https://github.com/gflags/gflags/archive/v2.1.2.tar.gz
- tar xf v2.1.2.tar.gz
- ( cd gflags-2.1.2 && cmake -DGFLAGS_NAMESPACE=google && make -j4 && sudo make install )
script:
- make -j4 && make install
- cd test/integeration && sudo sh inte-test-on-local.sh