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.

332 lines
9.7 KiB

  1. #
  2. # General config
  3. #
  4. branches:
  5. only:
  6. - master
  7. - stable
  8. sudo: required
  9. dist: trusty
  10. language: cpp
  11. # Enable caching
  12. cache:
  13. timeout: 1000
  14. directories:
  15. - build
  16. - travis/mtime_cache
  17. # Enable docker support
  18. services:
  19. - docker
  20. notifications:
  21. email:
  22. on_failure: always
  23. on_success: change
  24. recipients:
  25. secure: "Q9CW/PtyWkZwExDrfFFb9n1STGYsRfI6awv1bZHcGwfrDvhpXoMCuF8CwviIfilm7fFJJEoKizTtdRpY0HrOnY/8KY111xrtcFYosxdndv7xbESodIxQOUoIEFCO0mCNHwWYisoi3dAA7H3Yn661EsxluwHjzX5vY0xSbw0n229hlsFz092HwGLSU33zHl7eXpQk+BOFmBTRGlOq9obtDZ17zbHz1oXFZntHK/JDUIYP0b0uq8NvE2jM6CIVdcuSwmIkOhZJoO2L3Py3rBbPci+L2PSK4Smv2UjCPF8KusnOaFIyDB3LcNM9Jqq5ssJMrK/KaO6BiuYrOZXYWZ7KEg3Y/naC8HjOH1dzty+P7oW46sb9F03pTsufqD4R7wcK+9wROTztO6aJPDG/IPH7EWgrBTxqlOkVRwi2eYuQouZpZUW6EMClKbMHMIxCH2S8aOk/r1w2cNwmPEcunnP0nl413x/ByHr4fTPFykPj8pQxIsllYjpdWBRQfDOauKWGzk6LcrFW0qpWP+/aJ2vYu/IoZQMG5lMHbp6Y1Lg09pYm7Q983v3b7D+JvXhOXMyGq91HyPahA2wwKoG1GA4uoZ2I95/IFYNiKkelDd3WTBoFLNF9YFoEJNdCywm1fO2WY4WkyEFBuQcgDA+YpFMJJMxjTbivYk9jvHk2gji//2w="
  26. #
  27. # Configurations
  28. #
  29. jobs:
  30. include:
  31. ###
  32. # Stage: Build (1st run)
  33. ###
  34. # debian-9 - DefaultDebug
  35. - stage: Build (1st run)
  36. os: linux
  37. compiler: gcc
  38. env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc
  39. install:
  40. - rm -rf build
  41. - travis/install_linux.sh
  42. script:
  43. - travis/build.sh Build1
  44. before_cache:
  45. - docker cp storm:/storm/. .
  46. after_failure:
  47. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  48. # debian-9 - DefaultRelease
  49. - stage: Build (1st run)
  50. os: linux
  51. compiler: gcc
  52. env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc
  53. install:
  54. - rm -rf build
  55. - travis/install_linux.sh
  56. script:
  57. - travis/build.sh Build1
  58. before_cache:
  59. - docker cp storm:/storm/. .
  60. after_failure:
  61. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  62. # ubuntu-17.10 - DefaultDebugTravis
  63. - stage: Build (1st run)
  64. os: linux
  65. compiler: gcc
  66. env: CONFIG=DefaultDebugTravis LINUX=ubuntu-17.10 COMPILER=gcc
  67. install:
  68. - rm -rf build
  69. - travis/install_linux.sh
  70. script:
  71. - travis/build.sh Build1
  72. before_cache:
  73. - docker cp storm:/storm/. .
  74. after_failure:
  75. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  76. # ubuntu-17.10 - DefaultReleaseTravis
  77. - stage: Build (1st run)
  78. os: linux
  79. compiler: gcc
  80. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
  81. install:
  82. - rm -rf build
  83. - travis/install_linux.sh
  84. script:
  85. - travis/build.sh Build1
  86. before_cache:
  87. - docker cp storm:/storm/. .
  88. after_failure:
  89. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  90. ###
  91. # Stage: Build (2nd run)
  92. ###
  93. # debian-9 - DefaultDebug
  94. - stage: Build (2nd run)
  95. os: linux
  96. compiler: gcc
  97. env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc
  98. install:
  99. - travis/install_linux.sh
  100. script:
  101. - travis/build.sh Build2
  102. before_cache:
  103. - docker cp storm:/storm/. .
  104. after_failure:
  105. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  106. # debian-9 - DefaultRelease
  107. - stage: Build (2nd run)
  108. os: linux
  109. compiler: gcc
  110. env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc
  111. install:
  112. - travis/install_linux.sh
  113. script:
  114. - travis/build.sh Build2
  115. before_cache:
  116. - docker cp storm:/storm/. .
  117. after_failure:
  118. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  119. # ubuntu-17.10 - DefaultDebugTravis
  120. - stage: Build (2nd run)
  121. os: linux
  122. compiler: gcc
  123. env: CONFIG=DefaultDebugTravis LINUX=ubuntu-17.10 COMPILER=gcc
  124. install:
  125. - travis/install_linux.sh
  126. script:
  127. - travis/build.sh Build2
  128. before_cache:
  129. - docker cp storm:/storm/. .
  130. after_failure:
  131. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  132. # ubuntu-17.10 - DefaultReleaseTravis
  133. - stage: Build (2nd run)
  134. os: linux
  135. compiler: gcc
  136. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
  137. install:
  138. - travis/install_linux.sh
  139. script:
  140. - travis/build.sh Build2
  141. before_cache:
  142. - docker cp storm:/storm/. .
  143. after_failure:
  144. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  145. ###
  146. # Stage: Build (3rd run)
  147. ###
  148. # debian-9 - DefaultDebug
  149. - stage: Build (3rd run)
  150. os: linux
  151. compiler: gcc
  152. env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc
  153. install:
  154. - travis/install_linux.sh
  155. script:
  156. - travis/build.sh Build3
  157. before_cache:
  158. - docker cp storm:/storm/. .
  159. after_failure:
  160. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  161. # debian-9 - DefaultRelease
  162. - stage: Build (3rd run)
  163. os: linux
  164. compiler: gcc
  165. env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc
  166. install:
  167. - travis/install_linux.sh
  168. script:
  169. - travis/build.sh Build3
  170. before_cache:
  171. - docker cp storm:/storm/. .
  172. after_failure:
  173. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  174. # ubuntu-17.10 - DefaultDebugTravis
  175. - stage: Build (3rd run)
  176. os: linux
  177. compiler: gcc
  178. env: CONFIG=DefaultDebugTravis LINUX=ubuntu-17.10 COMPILER=gcc
  179. install:
  180. - travis/install_linux.sh
  181. script:
  182. - travis/build.sh Build3
  183. before_cache:
  184. - docker cp storm:/storm/. .
  185. after_failure:
  186. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  187. # ubuntu-17.10 - DefaultReleaseTravis
  188. - stage: Build (3rd run)
  189. os: linux
  190. compiler: gcc
  191. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
  192. install:
  193. - travis/install_linux.sh
  194. script:
  195. - travis/build.sh Build3
  196. before_cache:
  197. - docker cp storm:/storm/. .
  198. after_failure:
  199. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  200. ###
  201. # Stage: Build (4th run)
  202. ###
  203. # debian-9 - DefaultDebug
  204. - stage: Build (4th run)
  205. os: linux
  206. compiler: gcc
  207. env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc
  208. install:
  209. - travis/install_linux.sh
  210. script:
  211. - travis/build.sh BuildLast
  212. before_cache:
  213. - docker cp storm:/storm/. .
  214. after_failure:
  215. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  216. # debian-9 - DefaultRelease
  217. - stage: Build (4th run)
  218. os: linux
  219. compiler: gcc
  220. env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc
  221. install:
  222. - travis/install_linux.sh
  223. script:
  224. - travis/build.sh BuildLast
  225. before_cache:
  226. - docker cp storm:/storm/. .
  227. after_failure:
  228. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  229. # ubuntu-17.10 - DefaultDebugTravis
  230. - stage: Build (4th run)
  231. os: linux
  232. compiler: gcc
  233. env: CONFIG=DefaultDebugTravis LINUX=ubuntu-17.10 COMPILER=gcc
  234. install:
  235. - travis/install_linux.sh
  236. script:
  237. - travis/build.sh BuildLast
  238. before_cache:
  239. - docker cp storm:/storm/. .
  240. after_failure:
  241. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  242. # ubuntu-17.10 - DefaultReleaseTravis
  243. - stage: Build (4th run)
  244. os: linux
  245. compiler: gcc
  246. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
  247. install:
  248. - travis/install_linux.sh
  249. script:
  250. - travis/build.sh BuildLast
  251. before_cache:
  252. - docker cp storm:/storm/. .
  253. after_failure:
  254. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  255. ###
  256. # Stage: Test all
  257. ###
  258. # debian-9 - DefaultDebug
  259. - stage: Test all
  260. os: linux
  261. compiler: gcc
  262. env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc
  263. install:
  264. - travis/install_linux.sh
  265. script:
  266. - travis/build.sh TestAll
  267. before_cache:
  268. - docker cp storm:/storm/. .
  269. after_failure:
  270. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  271. # debian-9 - DefaultRelease
  272. - stage: Test all
  273. os: linux
  274. compiler: gcc
  275. env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc
  276. install:
  277. - travis/install_linux.sh
  278. script:
  279. - travis/build.sh TestAll
  280. before_cache:
  281. - docker cp storm:/storm/. .
  282. after_failure:
  283. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  284. # ubuntu-17.10 - DefaultDebugTravis
  285. - stage: Test all
  286. os: linux
  287. compiler: gcc
  288. env: CONFIG=DefaultDebugTravis LINUX=ubuntu-17.10 COMPILER=gcc
  289. install:
  290. - travis/install_linux.sh
  291. script:
  292. - travis/build.sh TestAll
  293. before_cache:
  294. - docker cp storm:/storm/. .
  295. after_failure:
  296. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  297. after_success:
  298. - docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
  299. - docker commit storm mvolk/storm-debug:travis;
  300. - docker push mvolk/storm-debug:travis;
  301. # ubuntu-17.10 - DefaultReleaseTravis
  302. - stage: Test all
  303. os: linux
  304. compiler: gcc
  305. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
  306. install:
  307. - travis/install_linux.sh
  308. script:
  309. - travis/build.sh TestAll
  310. before_cache:
  311. - docker cp storm:/storm/. .
  312. after_failure:
  313. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  314. after_success:
  315. - docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
  316. - docker commit storm mvolk/storm:travis;
  317. - docker push mvolk/storm:travis;