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

47 行
845B

  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. services:
  11. - docker
  12. matrix:
  13. include:
  14. - env: CXX=g++-7 CC=gcc-7
  15. addons:
  16. apt:
  17. packages:
  18. - g++-7
  19. sources: &sources
  20. - ubuntu-toolchain-r-test
  21. - llvm-toolchain-trusty
  22. - llvm-toolchain-trusty-5.0
  23. - env: CXX=clang++-5.0 CC=clang-5.0
  24. addons:
  25. apt:
  26. packages:
  27. - clang-5.0
  28. - libc++-dev
  29. sources: *sources
  30. before_install:
  31. - docker pull jorj/clang5_qt5
  32. - docker run jorj/clang5_qt5 --name devtest -v .:/mnt /bin/bash -c "${cxx} --version; cmake --version ls /mnt"
  33. install:
  34. - script/ci_install.sh
  35. script:
  36. - script/ci_build.sh