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.

347 lines
9.7 KiB

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