rocksdb/.travis.yml

28 lines
847 B
YAML
Raw Normal View History

2015-09-10 00:55:33 +00:00
sudo: false
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
- if [[ $(uname -s) == 'Darwin' ]]; then brew install snappy; fi
2015-09-10 00:55:33 +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 01:53:55 +00:00
script: OPT=-DTRAVIS V=1 make db_test && ./db_test && OPT=-DTRAVIS V=1 make clean jclean rocksdbjava jtest
2014-05-14 23:08:02 +00:00
notifications:
email: false
2015-09-10 00:55:33 +00:00
webhooks:
- https://buildtimetrend.herokuapp.com/travis