.travis.yml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. os:
  2. - linux
  3. language: cpp
  4. dist: xenial
  5. jobs:
  6. include:
  7. - compiler: clang-4.0
  8. addons:
  9. apt:
  10. sources:
  11. - llvm-toolchain-xenial-4.0
  12. packages:
  13. - clang-4.0
  14. artifacts: true
  15. env:
  16. - MATRIX_EVAL="CC=clang-4.0 && CXX=clang++-4.0"
  17. - compiler: clang-5.0
  18. addons:
  19. apt:
  20. sources:
  21. - llvm-toolchain-xenial-5.0
  22. packages:
  23. - clang-5.0
  24. artifacts: true
  25. env:
  26. - MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
  27. - compiler: clang-6.0
  28. addons:
  29. apt:
  30. sources:
  31. - llvm-toolchain-xenial-6.0
  32. packages:
  33. - clang-6.0
  34. artifacts: true
  35. env:
  36. - MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0"
  37. - compiler: clang-7
  38. addons:
  39. apt:
  40. sources:
  41. - llvm-toolchain-xenial-7
  42. packages:
  43. - clang-7
  44. artifacts: true
  45. env:
  46. - MATRIX_EVAL="CC=clang-7 && CXX=clang++-7"
  47. - compiler: clang-8
  48. addons:
  49. apt:
  50. sources:
  51. - llvm-toolchain-xenial-8
  52. packages:
  53. - clang-8
  54. artifacts: true
  55. env:
  56. - MATRIX_EVAL="CC=clang-8 && CXX=clang++-8"
  57. - compiler: clang-9
  58. addons:
  59. apt:
  60. sources:
  61. - ubuntu-toolchain-r-test
  62. - sourceline: 'deb https://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main'
  63. key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
  64. packages:
  65. - clang-9
  66. artifacts: true
  67. env:
  68. - MATRIX_EVAL="CC=clang-9 && CXX=clang++-9"
  69. - compiler: gcc-4.8
  70. dist: trusty
  71. addons:
  72. apt:
  73. sources:
  74. - ubuntu-toolchain-r-test
  75. packages:
  76. - gcc-4.8
  77. - g++-4.8
  78. artifacts: true
  79. env:
  80. - MATRIX_EVAL="CC=gcc-4.8 && CXX=g++-4.8"
  81. - compiler: gcc-4.9
  82. dist: trusty
  83. addons:
  84. apt:
  85. sources:
  86. - ubuntu-toolchain-r-test
  87. packages:
  88. - gcc-4.9
  89. - g++-4.9
  90. artifacts: true
  91. env:
  92. - MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
  93. - compiler: gcc-5
  94. addons:
  95. apt:
  96. sources:
  97. - ubuntu-toolchain-r-test
  98. packages:
  99. - gcc-5
  100. - g++-5
  101. artifacts: true
  102. env:
  103. - MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
  104. - compiler: gcc-6
  105. addons:
  106. apt:
  107. sources:
  108. - ubuntu-toolchain-r-test
  109. packages:
  110. - gcc-6
  111. - g++-6
  112. artifacts: true
  113. env:
  114. - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
  115. - compiler: gcc-7
  116. addons:
  117. apt:
  118. sources:
  119. - ubuntu-toolchain-r-test
  120. packages:
  121. - gcc-7
  122. - g++-7
  123. artifacts: true
  124. env:
  125. - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
  126. - compiler: gcc-8
  127. addons:
  128. apt:
  129. sources:
  130. - ubuntu-toolchain-r-test
  131. packages:
  132. - gcc-8
  133. - g++-8
  134. artifacts: true
  135. env:
  136. - MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
  137. - compiler: gcc-9
  138. dist: bionic
  139. addons:
  140. apt:
  141. sources:
  142. - ubuntu-toolchain-r-test
  143. - sourceline: ppa:ubuntu-toolchain-r/test
  144. packages:
  145. - gcc-9
  146. - g++-9
  147. artifacts: true
  148. env:
  149. - MATRIX_EVAL="CC=gcc-9 && CXX=g++-9"
  150. - CXXFLAGS="-Wp,-D_GLIBCXX_ASSERTIONS"
  151. before_install:
  152. - eval "${MATRIX_EVAL}"
  153. - . scripts/travis-$TRAVIS_OS_NAME.sh
  154. before_script:
  155. - export -f travis_fold
  156. script:
  157. - ${CC} --version
  158. - ./bootstrap.sh -a
  159. - ./configure --enable-ssl
  160. - make
  161. - make test
  162. after_failure:
  163. - travis_fold start "after_failure"
  164. - cat test-suite.log
  165. - travis_fold end "after_failure"