]> git.proxmox.com Git - ceph.git/blame - ceph/src/rocksdb/.travis.yml
bump version to 12.2.12-pve1
[ceph.git] / ceph / src / rocksdb / .travis.yml
CommitLineData
7c673cae
FG
1sudo: false
2dist: trusty
3language: cpp
4os:
5 - linux
6 - osx
7compiler:
8 - clang
9 - gcc
10jdk:
11 - oraclejdk7
12cache:
13 - ccache
14 - apt
15
16addons:
17 apt:
18 sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.6']
19 packages: ['clang-3.6' , 'g++-6', 'zlib1g-dev', 'libbz2-dev', 'libsnappy-dev', 'curl', 'libgflags-dev']
20env:
21 - TEST_GROUP=platform_dependent1
22 - TEST_GROUP=platform_dependent2
23 - TEST_GROUP=platform_dependent3
24 - TEST_GROUP=1
25 - TEST_GROUP=2
26 # Run java tests
27 - JOB_NAME=java_test
28 # Build ROCKSDB_LITE
29 - JOB_NAME=lite_build
30 # Build examples
31 - JOB_NAME=examples
32
33matrix:
34 exclude:
35 - os: osx
36 compiler: gcc
37 - os: osx
38 env: TEST_GROUP=1
39 - os: osx
40 env: TEST_GROUP=2
41
42before_script:
43 - if [[ "${TRAVIS_OS_NAME}" == 'linux' && "${CXX}" == 'clang++' ]]; then CXX=clang++-3.6; fi
44 # test one linux g++ build with g++-6
45 - if [[ "${TRAVIS_OS_NAME}" == 'linux' && "${CXX}" == 'g++' && "${JOB_NAME}" == 'unittests' ]]; then CXX=g++-6; fi
46 # Limit the maximum number of open file descriptors to 8192
47 - ulimit -n 8192 || true
48
49script:
50 - ${CXX} --version
51 - if [[ "${TEST_GROUP}" == 'platform_dependent1' ]]; then OPT=-DTRAVIS V=1 ROCKSDBTESTS_END=external_sst_file_basic_test make -j4 check_some; fi
52 - if [[ "${TEST_GROUP}" == 'platform_dependent2' ]]; then OPT=-DTRAVIS V=1 ROCKSDBTESTS_START=external_sst_file_basic_test ROCKSDBTESTS_END=checkpoint_test make -j4 check_some; fi
53 - if [[ "${TEST_GROUP}" == 'platform_dependent3' ]]; then OPT=-DTRAVIS V=1 ROCKSDBTESTS_START=checkpoint_test ROCKSDBTESTS_END=db_block_cache_test make -j4 check_some; fi
54 - if [[ "${TEST_GROUP}" == '1' ]]; then OPT=-DTRAVIS V=1 ROCKSDBTESTS_START=db_block_cache_test ROCKSDBTESTS_END=comparator_db_test make -j4 check_some; fi
55 - if [[ "${TEST_GROUP}" == '2' ]]; then OPT=-DTRAVIS V=1 ROCKSDBTESTS_START=comparator_db_test make -j4 check_some; fi
56 - if [[ "${JOB_NAME}" == 'java_test' ]]; then OPT=-DTRAVIS V=1 make clean jclean rocksdbjava jtest; fi
57 - if [[ "${JOB_NAME}" == 'lite_build' ]]; then OPT="-DTRAVIS -DROCKSDB_LITE" V=1 make -j4 static_lib; fi
58 - if [[ "${JOB_NAME}" == 'examples' ]]; then OPT=-DTRAVIS V=1 make -j4 static_lib; cd examples; make -j4; fi
59notifications:
60 email:
61 - leveldb@fb.com
62 webhooks:
63 - https://buildtimetrend.herokuapp.com/travis