rocksdb/.travis.yml
2015-09-09 19:56:08 -07:00

28 lines
847 B
YAML

sudo: false
language: cpp
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
- if [[ $(uname -s) == 'Darwin' ]]; then brew install snappy; fi
# Lousy hack to disable use and testing of fallocate, which doesn't behave quite
# as EnvPosixTest::AllocateTest expects within the Travis OpenVZ environment.
script: OPT=-DTRAVIS V=1 make db_test && ./db_test && OPT=-DTRAVIS V=1 make clean jclean rocksdbjava jtest
notifications:
email: false
webhooks:
- https://buildtimetrend.herokuapp.com/travis