-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
24 lines (24 loc) · 955 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
language: cpp
compiler: gcc
before_install:
# As of this writing (10 May 2014) the Travis build environment is Ubuntu 12.04,
# which needs the following ugly dependency incantations to build RocksDB:
- sudo apt-get install -y -qq git g++ make libssl-dev
- sudo apt-get install -y realpath libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev
- sudo apt-get install -y libsnappy-dev
- sudo apt-get install -y cmake
- git submodule update --init --recursive
- cd brpc && sh config_brpc.sh --headers=/usr/include --libs=/usr/lib && make -j4 && cd -
- cd googletest && cmake . && make -j4 && cd -
- cd gflags && cmake . && make -j4 && cd -
- cd rocksdb && cmake . && make -j4 && cd -
# Lousy hack to disable use and testing of fallocate, which doesn't behave quite
before_script:
- pwd
script: make
notifications:
recipients:
email:
on_success: change
on_failure: always