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.

511 lines
15 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 Carl
  33. ###
  34. # ubuntu-17.10 - DefaultDebugTravis
  35. - stage: Build Carl
  36. os: linux
  37. compiler: gcc
  38. env: CONFIG=DefaultDebugTravis LINUX=ubuntu-17.10 COMPILER=gcc
  39. install:
  40. - travis/install_linux.sh
  41. script:
  42. - travis/build_carl.sh
  43. after_success:
  44. - docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
  45. - docker commit carl movesrwth/carl:travis-debug;
  46. - docker push movesrwth/carl:travis-debug;
  47. # ubuntu-17.10 - DefaultReleaseTravis
  48. - stage: Build Carl
  49. os: linux
  50. compiler: gcc
  51. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
  52. install:
  53. - travis/install_linux.sh
  54. script:
  55. - travis/build_carl.sh
  56. after_success:
  57. - docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
  58. - docker commit carl movesrwth/carl:travis;
  59. - docker push movesrwth/carl:travis;
  60. ###
  61. # Stage: Build (1st run)
  62. ###
  63. # debian-9 - DefaultDebug
  64. - stage: Build (1st run)
  65. os: linux
  66. compiler: gcc
  67. env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc
  68. install:
  69. - rm -rf build
  70. - travis/install_linux.sh
  71. script:
  72. - travis/build.sh Build1
  73. before_cache:
  74. - docker cp storm:/opt/storm/. .
  75. after_failure:
  76. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  77. # debian-9 - DefaultRelease
  78. - stage: Build (1st run)
  79. os: linux
  80. compiler: gcc
  81. env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc
  82. install:
  83. - rm -rf build
  84. - travis/install_linux.sh
  85. script:
  86. - travis/build.sh Build1
  87. before_cache:
  88. - docker cp storm:/opt/storm/. .
  89. after_failure:
  90. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  91. # ubuntu-17.10 - DefaultDebugTravis
  92. - stage: Build (1st run)
  93. os: linux
  94. compiler: gcc
  95. env: CONFIG=DefaultDebugTravis LINUX=ubuntu-17.10 COMPILER=gcc
  96. install:
  97. - rm -rf build
  98. - travis/install_linux.sh
  99. script:
  100. - travis/build.sh Build1
  101. before_cache:
  102. - docker cp storm:/opt/storm/. .
  103. after_failure:
  104. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  105. # ubuntu-17.10 - DefaultReleaseTravis
  106. - stage: Build (1st run)
  107. os: linux
  108. compiler: gcc
  109. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
  110. install:
  111. - rm -rf build
  112. - travis/install_linux.sh
  113. script:
  114. - travis/build.sh Build1
  115. before_cache:
  116. - docker cp storm:/opt/storm/. .
  117. after_failure:
  118. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  119. # ubuntu-18.04 - DefaultDebug
  120. - stage: Build (1st run)
  121. os: linux
  122. compiler: gcc
  123. env: CONFIG=DefaultDebug LINUX=ubuntu-18.04 COMPILER=gcc
  124. install:
  125. - rm -rf build
  126. - travis/install_linux.sh
  127. script:
  128. - travis/build.sh Build1
  129. before_cache:
  130. - docker cp storm:/opt/storm/. .
  131. after_failure:
  132. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  133. # ubuntu-18.04 - DefaultRelease
  134. - stage: Build (1st run)
  135. os: linux
  136. compiler: gcc
  137. env: CONFIG=DefaultRelease LINUX=ubuntu-18.04 COMPILER=gcc
  138. install:
  139. - rm -rf build
  140. - travis/install_linux.sh
  141. script:
  142. - travis/build.sh Build1
  143. before_cache:
  144. - docker cp storm:/opt/storm/. .
  145. after_failure:
  146. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  147. ###
  148. # Stage: Build (2nd run)
  149. ###
  150. # debian-9 - DefaultDebug
  151. - stage: Build (2nd run)
  152. os: linux
  153. compiler: gcc
  154. env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc
  155. install:
  156. - travis/install_linux.sh
  157. script:
  158. - travis/build.sh Build2
  159. before_cache:
  160. - docker cp storm:/opt/storm/. .
  161. after_failure:
  162. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  163. # debian-9 - DefaultRelease
  164. - stage: Build (2nd run)
  165. os: linux
  166. compiler: gcc
  167. env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc
  168. install:
  169. - travis/install_linux.sh
  170. script:
  171. - travis/build.sh Build2
  172. before_cache:
  173. - docker cp storm:/opt/storm/. .
  174. after_failure:
  175. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  176. # ubuntu-17.10 - DefaultDebugTravis
  177. - stage: Build (2nd run)
  178. os: linux
  179. compiler: gcc
  180. env: CONFIG=DefaultDebugTravis LINUX=ubuntu-17.10 COMPILER=gcc
  181. install:
  182. - travis/install_linux.sh
  183. script:
  184. - travis/build.sh Build2
  185. before_cache:
  186. - docker cp storm:/opt/storm/. .
  187. after_failure:
  188. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  189. # ubuntu-17.10 - DefaultReleaseTravis
  190. - stage: Build (2nd run)
  191. os: linux
  192. compiler: gcc
  193. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
  194. install:
  195. - travis/install_linux.sh
  196. script:
  197. - travis/build.sh Build2
  198. before_cache:
  199. - docker cp storm:/opt/storm/. .
  200. after_failure:
  201. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  202. # ubuntu-18.04 - DefaultDebug
  203. - stage: Build (2nd run)
  204. os: linux
  205. compiler: gcc
  206. env: CONFIG=DefaultDebug LINUX=ubuntu-18.04 COMPILER=gcc
  207. install:
  208. - travis/install_linux.sh
  209. script:
  210. - travis/build.sh Build2
  211. before_cache:
  212. - docker cp storm:/opt/storm/. .
  213. after_failure:
  214. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  215. # ubuntu-18.04 - DefaultRelease
  216. - stage: Build (2nd run)
  217. os: linux
  218. compiler: gcc
  219. env: CONFIG=DefaultRelease LINUX=ubuntu-18.04 COMPILER=gcc
  220. install:
  221. - travis/install_linux.sh
  222. script:
  223. - travis/build.sh Build2
  224. before_cache:
  225. - docker cp storm:/opt/storm/. .
  226. after_failure:
  227. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  228. ###
  229. # Stage: Build (3rd run)
  230. ###
  231. # debian-9 - DefaultDebug
  232. - stage: Build (3rd run)
  233. os: linux
  234. compiler: gcc
  235. env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc
  236. install:
  237. - travis/install_linux.sh
  238. script:
  239. - travis/build.sh Build3
  240. before_cache:
  241. - docker cp storm:/opt/storm/. .
  242. after_failure:
  243. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  244. # debian-9 - DefaultRelease
  245. - stage: Build (3rd run)
  246. os: linux
  247. compiler: gcc
  248. env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc
  249. install:
  250. - travis/install_linux.sh
  251. script:
  252. - travis/build.sh Build3
  253. before_cache:
  254. - docker cp storm:/opt/storm/. .
  255. after_failure:
  256. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  257. # ubuntu-17.10 - DefaultDebugTravis
  258. - stage: Build (3rd run)
  259. os: linux
  260. compiler: gcc
  261. env: CONFIG=DefaultDebugTravis LINUX=ubuntu-17.10 COMPILER=gcc
  262. install:
  263. - travis/install_linux.sh
  264. script:
  265. - travis/build.sh Build3
  266. before_cache:
  267. - docker cp storm:/opt/storm/. .
  268. after_failure:
  269. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  270. # ubuntu-17.10 - DefaultReleaseTravis
  271. - stage: Build (3rd run)
  272. os: linux
  273. compiler: gcc
  274. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
  275. install:
  276. - travis/install_linux.sh
  277. script:
  278. - travis/build.sh Build3
  279. before_cache:
  280. - docker cp storm:/opt/storm/. .
  281. after_failure:
  282. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  283. # ubuntu-18.04 - DefaultDebug
  284. - stage: Build (3rd run)
  285. os: linux
  286. compiler: gcc
  287. env: CONFIG=DefaultDebug LINUX=ubuntu-18.04 COMPILER=gcc
  288. install:
  289. - travis/install_linux.sh
  290. script:
  291. - travis/build.sh Build3
  292. before_cache:
  293. - docker cp storm:/opt/storm/. .
  294. after_failure:
  295. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  296. # ubuntu-18.04 - DefaultRelease
  297. - stage: Build (3rd run)
  298. os: linux
  299. compiler: gcc
  300. env: CONFIG=DefaultRelease LINUX=ubuntu-18.04 COMPILER=gcc
  301. install:
  302. - travis/install_linux.sh
  303. script:
  304. - travis/build.sh Build3
  305. before_cache:
  306. - docker cp storm:/opt/storm/. .
  307. after_failure:
  308. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  309. ###
  310. # Stage: Build (4th run)
  311. ###
  312. # debian-9 - DefaultDebug
  313. - stage: Build (4th run)
  314. os: linux
  315. compiler: gcc
  316. env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc
  317. install:
  318. - travis/install_linux.sh
  319. script:
  320. - travis/build.sh BuildLast
  321. before_cache:
  322. - docker cp storm:/opt/storm/. .
  323. after_failure:
  324. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  325. # debian-9 - DefaultRelease
  326. - stage: Build (4th run)
  327. os: linux
  328. compiler: gcc
  329. env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc
  330. install:
  331. - travis/install_linux.sh
  332. script:
  333. - travis/build.sh BuildLast
  334. before_cache:
  335. - docker cp storm:/opt/storm/. .
  336. after_failure:
  337. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  338. # ubuntu-17.10 - DefaultDebugTravis
  339. - stage: Build (4th run)
  340. os: linux
  341. compiler: gcc
  342. env: CONFIG=DefaultDebugTravis LINUX=ubuntu-17.10 COMPILER=gcc
  343. install:
  344. - travis/install_linux.sh
  345. script:
  346. - travis/build.sh BuildLast
  347. before_cache:
  348. - docker cp storm:/opt/storm/. .
  349. after_failure:
  350. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  351. # ubuntu-17.10 - DefaultReleaseTravis
  352. - stage: Build (4th run)
  353. os: linux
  354. compiler: gcc
  355. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
  356. install:
  357. - travis/install_linux.sh
  358. script:
  359. - travis/build.sh BuildLast
  360. before_cache:
  361. - docker cp storm:/opt/storm/. .
  362. after_failure:
  363. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  364. # ubuntu-18.04 - DefaultDebug
  365. - stage: Build (4th run)
  366. os: linux
  367. compiler: gcc
  368. env: CONFIG=DefaultDebug LINUX=ubuntu-18.04 COMPILER=gcc
  369. install:
  370. - travis/install_linux.sh
  371. script:
  372. - travis/build.sh BuildLast
  373. before_cache:
  374. - docker cp storm:/opt/storm/. .
  375. after_failure:
  376. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  377. # ubuntu-18.04 - DefaultRelease
  378. - stage: Build (4th run)
  379. os: linux
  380. compiler: gcc
  381. env: CONFIG=DefaultRelease LINUX=ubuntu-18.04 COMPILER=gcc
  382. install:
  383. - travis/install_linux.sh
  384. script:
  385. - travis/build.sh BuildLast
  386. before_cache:
  387. - docker cp storm:/opt/storm/. .
  388. after_failure:
  389. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  390. ###
  391. # Stage: Test all
  392. ###
  393. # debian-9 - DefaultDebug
  394. - stage: Test all
  395. os: linux
  396. compiler: gcc
  397. env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc
  398. install:
  399. - travis/install_linux.sh
  400. script:
  401. - travis/build.sh TestAll
  402. before_cache:
  403. - docker cp storm:/opt/storm/. .
  404. after_failure:
  405. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  406. # debian-9 - DefaultRelease
  407. - stage: Test all
  408. os: linux
  409. compiler: gcc
  410. env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc
  411. install:
  412. - travis/install_linux.sh
  413. script:
  414. - travis/build.sh TestAll
  415. before_cache:
  416. - docker cp storm:/opt/storm/. .
  417. after_failure:
  418. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  419. # ubuntu-17.10 - DefaultDebugTravis
  420. - stage: Test all
  421. os: linux
  422. compiler: gcc
  423. env: CONFIG=DefaultDebugTravis LINUX=ubuntu-17.10 COMPILER=gcc
  424. install:
  425. - travis/install_linux.sh
  426. script:
  427. - travis/build.sh TestAll
  428. before_cache:
  429. - docker cp storm:/opt/storm/. .
  430. after_failure:
  431. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  432. after_success:
  433. - docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
  434. - docker commit storm movesrwth/storm:travis-debug;
  435. - docker push movesrwth/storm:travis-debug;
  436. # ubuntu-17.10 - DefaultReleaseTravis
  437. - stage: Test all
  438. os: linux
  439. compiler: gcc
  440. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
  441. install:
  442. - travis/install_linux.sh
  443. script:
  444. - travis/build.sh TestAll
  445. before_cache:
  446. - docker cp storm:/opt/storm/. .
  447. after_failure:
  448. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  449. after_success:
  450. - docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
  451. - docker commit storm movesrwth/storm:travis;
  452. - docker push movesrwth/storm:travis;
  453. # ubuntu-18.04 - DefaultDebug
  454. - stage: Test all
  455. os: linux
  456. compiler: gcc
  457. env: CONFIG=DefaultDebug LINUX=ubuntu-18.04 COMPILER=gcc
  458. install:
  459. - travis/install_linux.sh
  460. script:
  461. - travis/build.sh TestAll
  462. before_cache:
  463. - docker cp storm:/opt/storm/. .
  464. after_failure:
  465. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  466. # ubuntu-18.04 - DefaultRelease
  467. - stage: Test all
  468. os: linux
  469. compiler: gcc
  470. env: CONFIG=DefaultRelease LINUX=ubuntu-18.04 COMPILER=gcc
  471. install:
  472. - travis/install_linux.sh
  473. script:
  474. - travis/build.sh TestAll
  475. before_cache:
  476. - docker cp storm:/opt/storm/. .
  477. after_failure:
  478. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  479. allow_failures:
  480. - stage: Build (1st run)
  481. os: linux
  482. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
  483. - stage: Build (2nd run)
  484. os: linux
  485. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
  486. - stage: Build (3rd run)
  487. os: linux
  488. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
  489. - stage: Build (4th run)
  490. os: linux
  491. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
  492. - stage: Test all
  493. os: linux
  494. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc