forked from apache/incubator-pegasus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (29 loc) · 816 Bytes
/
.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
sudo: required
dist: trusty
language: cpp
os: linux
compiler:
- gcc
cache:
- ccache
before_install:
- wget https://raw.githubusercontent.com/xiaomi/pegasus-common/master/build-depends.tar.gz
- tar xf build-depends.tar.gz
- cd packages
- ls | xargs sudo dpkg -i --force-depends
- cd ..
install:
- sudo apt-get -f install
- sudo apt-get -y install libsnappy-dev
- sudo apt-get -y install libgflags-dev
before_script:
- cd rdsn/thirdparty
- wget https://raw.githubusercontent.com/xiaomi/pegasus-common/master/pegasus-thirdparty-prebuild.tar.gz
- tar xf pegasus-thirdparty-prebuild.tar.gz
- rm -rf pegasus-thirdparty-prebuild.tar.gz
- cd ../..
- ulimit -c unlimited -S
script:
- ./run.sh build && ./run.sh test
notifications:
email: false