forked from apache/incubator-pegasus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (40 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
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
sudo: required
dist: trusty
language: cpp
os: linux
compiler:
- gcc
addons:
apt:
packages:
- libsnappy-dev
- liblz4-dev
- clang-format-3.9
cache:
- ccache
- apt
before_install:
- wget https://github.com/XiaoMi/pegasus-common/releases/download/deps/build-depends.tar.gz
- tar xfz build-depends.tar.gz
- rm -f build-depends.tar.gz
- cd packages
- ls | xargs sudo dpkg -i --force-depends
- cd ..
install:
- wget https://github.com/facebook/zstd/archive/v1.3.7.zip; unzip v1.3.7; cd zstd-1.3.7;
- mkdir cmake-build; cd cmake-build; cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DZSTD_BUILD_PROGRAMS=OFF ../build/cmake; sudo make install -j8;
- cd ../..
- rm -rf v1.3.7.zip zstd-1.3.7;
before_script:
- cd rdsn/thirdparty
- wget https://github.com/XiaoMi/pegasus-common/releases/download/deps/pegasus-thirdparty-prebuild.tar.gz
- tar xf pegasus-thirdparty-prebuild.tar.gz
- rm -f pegasus-thirdparty-prebuild.tar.gz
- cd ../..
- ulimit -c unlimited -S
script:
- ./scripts/travis.sh
after_script:
- ./run.sh stop_zk
notifications:
email: false