LevelDB二级索引实现 姚凯文(kevinyao0901) 姜嘉祺
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.8 KiB

  1. # Build matrix / environment variable are explained on:
  2. # https://docs.travis-ci.com/user/customizing-the-build/
  3. # This file can be validated on:
  4. # http://lint.travis-ci.org/
  5. language: cpp
  6. # Define the matrix explicitly, manually expanding the combinations of (os, compiler, env).
  7. # It is more tedious, but grants us far more flexibility.
  8. matrix:
  9. include:
  10. - os: linux
  11. dist: bionic
  12. compiler: gcc
  13. install: ./ci/install-linux.sh && ./ci/log-config.sh
  14. script: ./ci/build-linux-bazel.sh
  15. - os: linux
  16. dist: bionic
  17. compiler: clang
  18. install: ./ci/install-linux.sh && ./ci/log-config.sh
  19. script: ./ci/build-linux-bazel.sh
  20. - os: linux
  21. dist: bionic
  22. compiler: gcc
  23. env: BUILD_TYPE=Debug CXX_FLAGS="-std=c++11 -Wdeprecated"
  24. - os: linux
  25. dist: bionic
  26. compiler: clang
  27. env: BUILD_TYPE=Release CXX_FLAGS="-std=c++11 -Wdeprecated" NO_EXCEPTION=ON NO_RTTI=ON COMPILER_IS_GNUCXX=ON
  28. - os: osx
  29. osx_image: xcode12.2
  30. compiler: gcc
  31. env: BUILD_TYPE=Release CC=gcc-10 CXX=g++-10 CXX_FLAGS="-std=c++11 -Wdeprecated" HOMEBREW_LOGS=~/homebrew-logs HOMEBREW_TEMP=~/homebrew-temp
  32. - os: osx
  33. osx_image: xcode12.2
  34. compiler: clang
  35. env: BUILD_TYPE=Release CXX_FLAGS="-std=c++11 -Wdeprecated" HOMEBREW_LOGS=~/homebrew-logs HOMEBREW_TEMP=~/homebrew-temp
  36. # These are the install and build (script) phases for the most common entries in the matrix. They could be included
  37. # in each entry in the matrix, but that is just repetitive.
  38. install:
  39. - ./ci/install-${TRAVIS_OS_NAME}.sh
  40. - . ./ci/env-${TRAVIS_OS_NAME}.sh
  41. - ./ci/log-config.sh
  42. script: ./ci/travis.sh
  43. # This section installs the necessary dependencies.
  44. addons:
  45. apt:
  46. packages:
  47. - g++
  48. - clang
  49. update: true
  50. homebrew:
  51. packages:
  52. - gcc@10
  53. update: true
  54. notifications:
  55. email: false