2
0

.travis.yml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. language: cpp
  2. before_install: ./util/travis/before_install.sh
  3. script: ./util/travis/script.sh
  4. sudo: required
  5. dist: trusty
  6. group: edge
  7. notifications:
  8. email: false
  9. matrix:
  10. fast_finish: true
  11. include:
  12. - env: CLANG_FORMAT=clang-format-7
  13. compiler: clang
  14. os: linux
  15. addons:
  16. apt:
  17. packages: ['clang-format-7']
  18. sources: &sources
  19. - ubuntu-toolchain-r-test
  20. - llvm-toolchain-trusty-7
  21. - env: CLANG_TIDY=clang-tidy-7
  22. compiler: clang
  23. os: linux
  24. script: ./util/travis/clangtidy.sh
  25. addons:
  26. apt:
  27. packages: ['clang-7', 'clang++-7', 'clang-tools-7', 'clang-tidy-7']
  28. sources: &sources
  29. - ubuntu-toolchain-r-test
  30. - llvm-toolchain-trusty-7
  31. - env: PLATFORM=Win32
  32. compiler: gcc
  33. os: linux
  34. - env: PLATFORM=Win64
  35. compiler: gcc
  36. os: linux
  37. # - env: PLATFORM=Unix
  38. # compiler: clang
  39. # os: osx
  40. # osx_image: xcode8
  41. - env: PLATFORM=Unix COMPILER=gcc-6
  42. compiler: gcc
  43. os: linux
  44. addons:
  45. apt:
  46. packages: ['gcc-6', 'g++-6']
  47. sources: &sources
  48. - ubuntu-toolchain-r-test
  49. - env: PLATFORM=Unix COMPILER=gcc-8
  50. compiler: gcc
  51. os: linux
  52. addons:
  53. apt:
  54. packages: ['gcc-8', 'g++-8']
  55. sources: &sources
  56. - ubuntu-toolchain-r-test
  57. - env: PLATFORM=Unix COMPILER=clang-3.6
  58. compiler: clang
  59. os: linux
  60. addons:
  61. apt:
  62. packages: ['clang-3.6', 'clang++-3.6']
  63. sources: &sources
  64. - llvm-toolchain-trusty-3.6
  65. - env: PLATFORM=Unix COMPILER=clang-7
  66. compiler: clang
  67. os: linux
  68. addons:
  69. apt:
  70. packages: ['clang-7', 'clang++-7']
  71. sources: &sources
  72. - ubuntu-toolchain-r-test
  73. - llvm-toolchain-trusty-7
  74. - env: PLATFORM=Unix COMPILER=clang-7 FREETYPE=0
  75. compiler: clang
  76. os: linux
  77. addons:
  78. apt:
  79. packages: ['clang-7', 'clang++-7']
  80. sources: &sources
  81. - ubuntu-toolchain-r-test
  82. - llvm-toolchain-trusty-7
  83. - env: PLATFORM=Unix COMPILER=clang-7 VALGRIND=1
  84. compiler: clang
  85. os: linux
  86. addons:
  87. apt:
  88. packages: ['valgrind', 'clang-7', 'clang++-7']
  89. sources: &sources
  90. - ubuntu-toolchain-r-test
  91. - llvm-toolchain-trusty-7