|
|
|
@ -1,24 +1,26 @@ |
|
|
|
|
sudo: false |
|
|
|
|
os: |
|
|
|
|
- linux |
|
|
|
|
language: cpp |
|
|
|
|
compiler: clang |
|
|
|
|
addons: |
|
|
|
|
apt: |
|
|
|
|
sources: |
|
|
|
|
- ubuntu-toolchain-r-test |
|
|
|
|
- llvm-toolchain-precise-3.6 |
|
|
|
|
packages: |
|
|
|
|
- zlib1g-dev |
|
|
|
|
- libbz2-dev |
|
|
|
|
- libsnappy-dev |
|
|
|
|
- clang-3.6 |
|
|
|
|
|
|
|
|
|
env: COMPILER=clang++-3.6 |
|
|
|
|
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: CXX=$COMPILER OPT=-DTRAVIS V=1 make unity && make clean && CXX=$COMPILER OPT=-DTRAVIS V=1 make db_test && ./db_test && CXX=$COMPILER OPT=-DTRAVIS V=1 make clean jclean rocksdbjava jtest |
|
|
|
|
script: OPT=-DTRAVIS V=1 make db_test && ./db_test && OPT=-DTRAVIS V=1 make clean jclean rocksdbjava jtest |
|
|
|
|
|
|
|
|
|
notifications: |
|
|
|
|
email: false |
|
|
|
|
webhooks: |
|
|
|
|