Miroir du dépôt minetest. https://gitlab.com/minetest/minetest.git
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.

119 lines
2.8KB

  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. - name: "Builtin Luacheck and Unit Tests"
  22. language: generic
  23. compiler: null
  24. os: linux
  25. sudo: false
  26. addons:
  27. apt:
  28. packages:
  29. - luarocks
  30. before_install:
  31. - luarocks install --local luacheck
  32. - luarocks install --local busted
  33. script:
  34. - $HOME/.luarocks/bin/luacheck builtin
  35. - $HOME/.luarocks/bin/busted builtin
  36. - env: CLANG_TIDY=clang-tidy-7
  37. compiler: clang
  38. os: linux
  39. script: ./util/travis/clangtidy.sh
  40. addons:
  41. apt:
  42. packages: ['clang-7', 'clang++-7', 'clang-tools-7', 'clang-tidy-7']
  43. sources: &sources
  44. - ubuntu-toolchain-r-test
  45. - llvm-toolchain-trusty-7
  46. - env: PLATFORM=Win32
  47. compiler: gcc
  48. os: linux
  49. - env: PLATFORM=Win64
  50. compiler: gcc
  51. os: linux
  52. # - env: PLATFORM=Unix
  53. # compiler: clang
  54. # os: osx
  55. # osx_image: xcode8
  56. - env: PLATFORM=Unix COMPILER=gcc-6
  57. compiler: gcc
  58. os: linux
  59. addons:
  60. apt:
  61. packages: ['gcc-6', 'g++-6']
  62. sources: &sources
  63. - ubuntu-toolchain-r-test
  64. - env: PLATFORM=Unix COMPILER=gcc-8
  65. compiler: gcc
  66. os: linux
  67. addons:
  68. apt:
  69. packages: ['gcc-8', 'g++-8']
  70. sources: &sources
  71. - ubuntu-toolchain-r-test
  72. - env: PLATFORM=Unix COMPILER=clang-3.6
  73. compiler: clang
  74. os: linux
  75. addons:
  76. apt:
  77. packages: ['clang-3.6', 'clang++-3.6']
  78. sources: &sources
  79. - llvm-toolchain-trusty-3.6
  80. - env: PLATFORM=Unix COMPILER=clang-7
  81. compiler: clang
  82. os: linux
  83. addons:
  84. apt:
  85. packages: ['clang-7', 'clang++-7']
  86. sources: &sources
  87. - ubuntu-toolchain-r-test
  88. - llvm-toolchain-trusty-7
  89. - env: PLATFORM=Unix COMPILER=clang-7 FREETYPE=0
  90. compiler: clang
  91. os: linux
  92. addons:
  93. apt:
  94. packages: ['clang-7', 'clang++-7']
  95. sources: &sources
  96. - ubuntu-toolchain-r-test
  97. - llvm-toolchain-trusty-7
  98. - env: PLATFORM=Unix COMPILER=clang-7 VALGRIND=1
  99. compiler: clang
  100. os: linux
  101. addons:
  102. apt:
  103. packages: ['valgrind', 'clang-7', 'clang++-7']
  104. sources: &sources
  105. - ubuntu-toolchain-r-test
  106. - llvm-toolchain-trusty-7