.travis.yml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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: PLATFORM=Win32
  13. compiler: gcc
  14. os: linux
  15. addons:
  16. apt:
  17. packages: ['gcc-mingw-w64-i686', 'g++-mingw-w64-i686', 'binutils-mingw-w64-i686']
  18. sources: &sources
  19. - ubuntu-toolchain-r-test
  20. - sourceline: 'deb http://mirrors.kernel.org/ubuntu xenial main universe'
  21. - env: PLATFORM=Win64
  22. compiler: gcc
  23. os: linux
  24. addons:
  25. apt:
  26. packages: ['gcc-mingw-w64-x86-64', 'g++-mingw-w64-x86-64', 'binutils-mingw-w64-x86-64']
  27. sources: &sources
  28. - ubuntu-toolchain-r-test
  29. - sourceline: 'deb http://mirrors.kernel.org/ubuntu xenial main universe'
  30. - env: PLATFORM=Unix
  31. compiler: clang
  32. os: osx
  33. osx_image: xcode8
  34. - env: PLATFORM=Unix COMPILER=gcc-6
  35. compiler: gcc
  36. os: linux
  37. addons:
  38. apt:
  39. packages: ['gcc-6', 'g++-6']
  40. sources: &sources
  41. - ubuntu-toolchain-r-test
  42. - env: PLATFORM=Unix COMPILER=gcc-7
  43. compiler: gcc
  44. os: linux
  45. addons:
  46. apt:
  47. packages: ['gcc-7', 'g++-7']
  48. sources: &sources
  49. - ubuntu-toolchain-r-test
  50. - env: PLATFORM=Unix COMPILER=clang-3.6
  51. compiler: clang
  52. os: linux
  53. addons:
  54. apt:
  55. packages: ['clang-3.6', 'clang++-3.6']
  56. sources: &sources
  57. - llvm-toolchain-trusty-3.6
  58. - env: PLATFORM=Unix COMPILER=clang-5.0
  59. compiler: clang
  60. os: linux
  61. addons:
  62. apt:
  63. packages: ['clang-5.0', 'clang++-5.0']
  64. sources: &sources
  65. - llvm-toolchain-trusty-5.0
  66. - env: PLATFORM=Unix COMPILER=clang-5.0 FREETYPE=0
  67. compiler: clang
  68. os: linux
  69. addons:
  70. apt:
  71. packages: ['clang-5.0', 'clang++-5.0']
  72. sources: &sources
  73. - llvm-toolchain-trusty-5.0
  74. - env: PLATFORM=Unix COMPILER=clang-5.0 VALGRIND=1
  75. compiler: clang
  76. os: linux
  77. addons:
  78. apt:
  79. packages: ['valgrind', 'clang-5.0', 'clang++-5.0']
  80. sources: &sources
  81. - llvm-toolchain-trusty-5.0
  82. - env: LINT=1
  83. compiler: clang
  84. os: linux
  85. addons:
  86. apt:
  87. packages: ['clang-format-5.0']
  88. sources: &sources
  89. - llvm-toolchain-trusty-5.0