2015-09-10 02:55:33 +02:00
|
|
|
sudo: false
|
2014-05-11 06:18:23 +02:00
|
|
|
language: cpp
|
2015-09-10 02:55:33 +02:00
|
|
|
|
2015-09-10 03:53:55 +02: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 02:55:33 +02:00
|
|
|
|
2014-05-11 06:18:23 +02: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:53:55 +02:00
|
|
|
script: OPT=-DTRAVIS V=1 make db_test && ./db_test && OPT=-DTRAVIS V=1 make clean jclean rocksdbjava jtest
|
|
|
|
|
2014-05-15 01:08:02 +02:00
|
|
|
notifications:
|
|
|
|
email: false
|
2015-09-10 02:55:33 +02:00
|
|
|
webhooks:
|
|
|
|
- https://buildtimetrend.herokuapp.com/travis
|