2015-09-10 00:55:33 +00:00
|
|
|
sudo: false
|
2014-05-11 04:18:23 +00:00
|
|
|
language: cpp
|
2015-09-10 00:55:33 +00:00
|
|
|
|
2015-09-10 01:53:55 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
|
|
|
env: COMPILER=clang++-3.6
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.6']
|
|
|
|
packages: ['clang-3.6', 'zlib1g-dev', 'libbz2-dev', 'libsnappy-dev']
|
|
|
|
- os: osx
|
|
|
|
compiler: clang
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- if [ -n "${COMPILER}" ]; then CXX=${COMPILER}; fi
|
2015-09-10 03:30:00 +00:00
|
|
|
- if [[ $(uname -s) == 'Darwin' ]]; then brew install gflags snappy; fi
|
2015-09-10 00:55:33 +00:00
|
|
|
|
2014-05-11 04:18:23 +00:00
|
|
|
# Lousy hack to disable use and testing of fallocate, which doesn't behave quite
|
|
|
|
# as EnvPosixTest::AllocateTest expects within the Travis OpenVZ environment.
|
2015-09-10 03:30:00 +00:00
|
|
|
script: OPT=-DTRAVIS V=1 make -j4 check && OPT=-DTRAVIS V=1 make clean jclean rocksdbjava jtest
|
2015-09-10 01:53:55 +00:00
|
|
|
|
2014-05-14 23:08:02 +00:00
|
|
|
notifications:
|
2015-09-10 03:30:00 +00:00
|
|
|
email:
|
|
|
|
- leveldb@fb.com
|
2015-09-10 00:55:33 +00:00
|
|
|
webhooks:
|
|
|
|
- https://buildtimetrend.herokuapp.com/travis
|