您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627282930313233343536373839
  1. language: generic
  2. dist: trusty
  3. sudo: required
  4. env:
  5. global:
  6. - DEPENDENCY_DIR="${TRAVIS_BUILD_DIR}/dependencies"
  7. cache:
  8. directories:
  9. - ${DEPENDENCY_DIR}
  10. matrix:
  11. include:
  12. - env: CXX=g++-7 CC=gcc-7
  13. addons:
  14. apt:
  15. packages:
  16. - g++-7
  17. sources: &sources
  18. - ubuntu-toolchain-r-test
  19. - llvm-toolchain-trusty
  20. - llvm-toolchain-trusty-5.0
  21. - env: CXX=clang++-5.0 CC=clang-5.0
  22. addons:
  23. apt:
  24. packages:
  25. - clang-5.0
  26. sources: *sources
  27. install:
  28. - script/ci_install.sh
  29. script:
  30. - script/ci_build.sh