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.

92 lines
2.2KB

  1. language: cpp
  2. before_install: ./util/travis/before_install.sh
  3. script: ./util/travis/script.sh
  4. sudo: required
  5. dist: trusty
  6. notifications:
  7. email: false
  8. matrix:
  9. fast_finish: true
  10. include:
  11. - env: PLATFORM=Win32
  12. compiler: gcc
  13. os: linux
  14. addons:
  15. apt:
  16. packages: ['gcc-mingw-w64-i686', 'g++-mingw-w64-i686', 'binutils-mingw-w64-i686']
  17. sources: &sources
  18. - ubuntu-toolchain-r-test
  19. - sourceline: 'deb http://mirrors.kernel.org/ubuntu xenial main universe'
  20. - env: PLATFORM=Win64
  21. compiler: gcc
  22. os: linux
  23. addons:
  24. apt:
  25. packages: ['gcc-mingw-w64-x86-64', 'g++-mingw-w64-x86-64', 'binutils-mingw-w64-x86-64']
  26. sources: &sources
  27. - ubuntu-toolchain-r-test
  28. - sourceline: 'deb http://mirrors.kernel.org/ubuntu xenial main universe'
  29. - env: PLATFORM=Unix
  30. compiler: clang
  31. os: osx
  32. osx_image: xcode8
  33. - env: PLATFORM=Unix COMPILER=gcc-6
  34. compiler: gcc
  35. os: linux
  36. addons:
  37. apt:
  38. packages: ['gcc-6', 'g++-6']
  39. sources: &sources
  40. - ubuntu-toolchain-r-test
  41. - env: PLATFORM=Unix COMPILER=gcc-7
  42. compiler: gcc
  43. os: linux
  44. addons:
  45. apt:
  46. packages: ['gcc-7', 'g++-7']
  47. sources: &sources
  48. - ubuntu-toolchain-r-test
  49. - env: PLATFORM=Unix COMPILER=clang-3.6
  50. compiler: clang
  51. os: linux
  52. addons:
  53. apt:
  54. packages: ['clang-3.6', 'clang++-3.6']
  55. sources: &sources
  56. - llvm-toolchain-trusty-3.6
  57. - env: PLATFORM=Unix COMPILER=clang-4.0
  58. compiler: clang
  59. os: linux
  60. addons:
  61. apt:
  62. packages: ['clang-4.0', 'clang++-4.0']
  63. sources: &sources
  64. - llvm-toolchain-trusty-4.0
  65. - env: PLATFORM=Unix COMPILER=clang-4.0 VALGRIND=1
  66. compiler: clang
  67. os: linux
  68. addons:
  69. apt:
  70. packages: ['valgrind', 'clang-4.0', 'clang++-4.0']
  71. sources: &sources
  72. - llvm-toolchain-trusty-4.0
  73. - env: LINT=1
  74. compiler: clang
  75. os: linux
  76. addons:
  77. apt:
  78. packages: ['clang-format-4.0']
  79. sources: &sources
  80. - llvm-toolchain-trusty-4.0