.travis.yml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. language: cpp
  2. before_install: ./util/travis/before_install.sh
  3. script: ./util/travis/script.sh
  4. os: linux
  5. dist: bionic
  6. group: edge
  7. notifications:
  8. email: false
  9. matrix:
  10. fast_finish: true
  11. include:
  12. - env: CLANG_FORMAT=clang-format-8
  13. compiler: clang
  14. os: linux
  15. addons:
  16. apt:
  17. packages: ['clang-format-8']
  18. - name: "Builtin Luacheck and Unit Tests"
  19. language: generic
  20. compiler: null
  21. os: linux
  22. addons:
  23. apt:
  24. packages:
  25. - luarocks
  26. before_install:
  27. - luarocks install --local luacheck
  28. - luarocks install --local busted
  29. script:
  30. - $HOME/.luarocks/bin/luacheck builtin
  31. - $HOME/.luarocks/bin/busted builtin
  32. - env: CLANG_TIDY=clang-tidy-8
  33. compiler: clang
  34. os: linux
  35. script: ./util/travis/clangtidy.sh
  36. addons:
  37. apt:
  38. packages: ['clang-tidy-8']
  39. - name: "MinGW cross-compiler (32-bit)"
  40. env: PLATFORM=Win32
  41. compiler: gcc
  42. os: linux
  43. - name: "MinGW cross-compiler (64-bit)"
  44. env: PLATFORM=Win64
  45. compiler: gcc
  46. os: linux
  47. # - env: PLATFORM=Unix
  48. # compiler: clang
  49. # os: osx
  50. # osx_image: xcode8
  51. - env: PLATFORM=Unix COMPILER=gcc-6
  52. compiler: gcc
  53. os: linux
  54. addons:
  55. apt:
  56. packages: ['gcc-6', 'g++-6']
  57. - env: PLATFORM=Unix COMPILER=gcc-8
  58. compiler: gcc
  59. os: linux
  60. addons:
  61. apt:
  62. packages: ['gcc-8', 'g++-8']
  63. - env: PLATFORM=Unix COMPILER=clang-3.9
  64. compiler: clang
  65. os: linux
  66. addons:
  67. apt:
  68. packages: ['clang-3.9']
  69. - env: PLATFORM=Unix COMPILER=clang-9
  70. compiler: clang
  71. os: linux
  72. addons:
  73. apt:
  74. packages: ['clang-9']
  75. - env: PLATFORM=Unix COMPILER=clang-9 FREETYPE=0
  76. compiler: clang
  77. os: linux
  78. addons:
  79. apt:
  80. packages: ['clang-9']
  81. - env: PLATFORM=Unix COMPILER=clang-9 VALGRIND=1
  82. compiler: clang
  83. os: linux
  84. addons:
  85. apt:
  86. packages: ['valgrind', 'clang-9']