.travis.yml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. sudo: required
  2. services:
  3. - docker
  4. language: c++
  5. dist: trusty
  6. before_script:
  7. - uname -a
  8. - echo before_script
  9. - ./tools/ci/scripts/retry.sh sudo apt-get update
  10. - ./tools/ci/scripts/retry.sh sudo apt-get install docker
  11. script:
  12. - travis_wait 150 sleep infinity &
  13. - ./tools/ci/scripts/docker_run.sh
  14. - docker ps -a
  15. after_script:
  16. cat config.log || true
  17. env:
  18. global:
  19. - SDL1="libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev"
  20. - SDL2="libsdl2-dev libsdl2-gfx-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev"
  21. - LIBS_PACKAGES="make autoconf automake autopoint gettext
  22. libxml2-dev libcurl4-gnutls-dev libpng-dev"
  23. matrix:
  24. # amd64, sdl1, --disable-tmwa
  25. - IMAGE=ubuntu:xenial
  26. COMMAND="./tools/ci/jobs/gcc5.sh --enable-werror --disable-tmwa"
  27. PACKAGES="gcc-5 g++-5
  28. ${LIBS_PACKAGES} ${SDL1}"
  29. - IMAGE=debian:stretch
  30. COMMAND="./tools/ci/jobs/gcc6.sh --enable-werror --disable-tmwa"
  31. PACKAGES="gcc-6 g++-6
  32. ${LIBS_PACKAGES} ${SDL1}"
  33. - IMAGE=debian:unstable
  34. COMMAND="./tools/ci/jobs/gcc10.sh --enable-werror --disable-tmwa"
  35. PACKAGES="gcc-10 g++-10
  36. ${LIBS_PACKAGES} ${SDL1}"
  37. - IMAGE=ubuntu:xenial
  38. COMMAND="./tools/ci/jobs/gcc5_tests.sh --disable-tmwa --without-dyecmd --without-manaplusgame"
  39. PACKAGES="gcc-5 g++-5
  40. ${LIBS_PACKAGES} ${SDL1}
  41. valgrind"
  42. - IMAGE=debian:stretch
  43. COMMAND="./tools/ci/jobs/gcc6_tests.sh --disable-tmwa --without-dyecmd --without-manaplusgame"
  44. PACKAGES="gcc-6 g++-6
  45. ${LIBS_PACKAGES} ${SDL1}
  46. valgrind"
  47. - IMAGE=debian:unstable
  48. COMMAND="./tools/ci/jobs/gcc10_tests.sh --disable-tmwa --without-dyecmd --without-manaplusgame"
  49. PACKAGES="gcc-10 g++-10
  50. ${LIBS_PACKAGES} ${SDL1}
  51. valgrind"
  52. - IMAGE=ubuntu:xenial
  53. COMMAND="./tools/ci/jobs/gcc5_sanitize_tests.sh --disable-tmwa --without-dyecmd --without-manaplusgame"
  54. PACKAGES="gcc-5 g++-5
  55. ${LIBS_PACKAGES} ${SDL1}
  56. valgrind"
  57. # i386, sdl1, --disable-tmwa
  58. - IMAGE=i386/ubuntu:xenial
  59. COMMAND="./tools/ci/jobs/gcc5.sh --enable-werror --disable-tmwa"
  60. PACKAGES="gcc-5 g++-5
  61. ${LIBS_PACKAGES} ${SDL1}"
  62. - IMAGE=i386/debian:stretch
  63. COMMAND="./tools/ci/jobs/gcc6.sh --enable-werror --disable-tmwa"
  64. PACKAGES="gcc-6 g++-6
  65. ${LIBS_PACKAGES} ${SDL1}"
  66. - IMAGE=i386/debian:unstable
  67. COMMAND="./tools/ci/jobs/gcc10.sh --enable-werror --disable-tmwa"
  68. PACKAGES="gcc-10 g++-10
  69. ${LIBS_PACKAGES} ${SDL1}"
  70. - IMAGE=i386/ubuntu:xenial
  71. COMMAND="./tools/ci/jobs/gcc5_tests.sh --disable-tmwa --without-dyecmd --without-manaplusgame"
  72. PACKAGES="gcc-5 g++-5
  73. ${LIBS_PACKAGES} ${SDL1}
  74. valgrind"
  75. - IMAGE=i386/debian:stretch
  76. COMMAND="./tools/ci/jobs/gcc6_tests.sh --disable-tmwa --without-dyecmd --without-manaplusgame"
  77. PACKAGES="gcc-6 g++-6
  78. ${LIBS_PACKAGES} ${SDL1}
  79. valgrind"
  80. - IMAGE=i386/debian:unstable
  81. COMMAND="./tools/ci/jobs/gcc10_tests.sh --disable-tmwa --without-dyecmd --without-manaplusgame"
  82. PACKAGES="gcc-10 g++-10
  83. ${LIBS_PACKAGES} ${SDL1}
  84. valgrind"
  85. # amd64, sdl2, --disable-tmwa
  86. - IMAGE=ubuntu:xenial
  87. COMMAND="./tools/ci/jobs/gcc5.sh --enable-werror --disable-tmwa --with-sdl2"
  88. PACKAGES="gcc-5 g++-5
  89. ${LIBS_PACKAGES} ${SDL2}"
  90. - IMAGE=debian:stretch
  91. COMMAND="./tools/ci/jobs/gcc6.sh --enable-werror --disable-tmwa --with-sdl2"
  92. PACKAGES="gcc-6 g++-6
  93. ${LIBS_PACKAGES} ${SDL2}"
  94. - IMAGE=debian:unstable
  95. COMMAND="./tools/ci/jobs/gcc10.sh --enable-werror --disable-tmwa --with-sdl2"
  96. PACKAGES="gcc-10 g++-10
  97. ${LIBS_PACKAGES} ${SDL2}"
  98. - IMAGE=ubuntu:xenial
  99. COMMAND="./tools/ci/jobs/gcc5_tests.sh --disable-tmwa --without-dyecmd --without-manaplusgame --with-sdl2"
  100. PACKAGES="gcc-5 g++-5
  101. ${LIBS_PACKAGES} ${SDL2}
  102. valgrind"
  103. - IMAGE=debian:stretch
  104. COMMAND="./tools/ci/jobs/gcc6_tests.sh --disable-tmwa --without-dyecmd --without-manaplusgame --with-sdl2"
  105. PACKAGES="gcc-6 g++-6
  106. ${LIBS_PACKAGES} ${SDL2}
  107. valgrind"
  108. - IMAGE=debian:unstable
  109. COMMAND="./tools/ci/jobs/gcc10_tests.sh --disable-tmwa --without-dyecmd --without-manaplusgame --with-sdl2"
  110. PACKAGES="gcc-10 g++-10
  111. ${LIBS_PACKAGES} ${SDL2}
  112. valgrind"
  113. - IMAGE=ubuntu:xenial
  114. COMMAND="./tools/ci/jobs/gcc5_sanitize_tests.sh --disable-tmwa --without-dyecmd --without-manaplusgame --with-sdl2"
  115. PACKAGES="gcc-5 g++-5
  116. ${LIBS_PACKAGES} ${SDL2}
  117. valgrind"
  118. # i386, sdl2, --disable-tmwa
  119. - IMAGE=i386/ubuntu:xenial
  120. COMMAND="./tools/ci/jobs/gcc5.sh --enable-werror --disable-tmwa --with-sdl2"
  121. PACKAGES="gcc-5 g++-5
  122. ${LIBS_PACKAGES} ${SDL2}"
  123. - IMAGE=i386/debian:stretch
  124. COMMAND="./tools/ci/jobs/gcc6.sh --enable-werror --disable-tmwa --with-sdl2"
  125. PACKAGES="gcc-6 g++-6
  126. ${LIBS_PACKAGES} ${SDL2}"
  127. - IMAGE=i386/debian:unstable
  128. COMMAND="./tools/ci/jobs/gcc10.sh --enable-werror --disable-tmwa --with-sdl2"
  129. PACKAGES="gcc-10 g++-10
  130. ${LIBS_PACKAGES} ${SDL2}"
  131. - IMAGE=i386/ubuntu:xenial
  132. COMMAND="./tools/ci/jobs/gcc5_tests.sh --disable-tmwa --without-dyecmd --without-manaplusgame --with-sdl2"
  133. PACKAGES="gcc-5 g++-5
  134. ${LIBS_PACKAGES} ${SDL2}
  135. valgrind"
  136. - IMAGE=i386/debian:stretch
  137. COMMAND="./tools/ci/jobs/gcc6_tests.sh --disable-tmwa --without-dyecmd --without-manaplusgame --with-sdl2"
  138. PACKAGES="gcc-6 g++-6
  139. ${LIBS_PACKAGES} ${SDL2}
  140. valgrind"
  141. - IMAGE=i386/debian:unstable
  142. COMMAND="./tools/ci/jobs/gcc10_tests.sh --disable-tmwa --without-dyecmd --without-manaplusgame --with-sdl2"
  143. PACKAGES="gcc-10 g++-10
  144. ${LIBS_PACKAGES} ${SDL2}
  145. valgrind"
  146. notifications:
  147. email: false