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.

722 lines
24 KiB

  1. #
  2. # General config
  3. #
  4. branches:
  5. only:
  6. - master
  7. - stable
  8. sudo: required
  9. dist: trusty
  10. language: cpp
  11. git:
  12. depth: false
  13. # Enable caching
  14. cache:
  15. timeout: 1000
  16. directories:
  17. - build
  18. - travis/mtime_cache
  19. # Enable docker support
  20. services:
  21. - docker
  22. notifications:
  23. email:
  24. on_failure: always
  25. on_success: change
  26. recipients:
  27. - secure: "VWnsiQkt1xjgRo1hfNiNQqvLSr0fshFmLV7jJlUixhCr094mgD0U2bNKdUfebm28Byg9UyDYPbOFDC0sx7KydKiL1q7FKKXkyZH0k04wUu8XiNw+fYkDpmPnQs7G2n8oJ/GFJnr1Wp/1KI3qX5LX3xot4cJfx1I5iFC2O+p+ng6v/oSX+pewlMv4i7KL16ftHHHMo80N694v3g4B2NByn4GU2/bjVQcqlBp/TiVaUa5Nqu9DxZi/n9CJqGEaRHOblWyMO3EyTZsn45BNSWeQ3DtnMwZ73rlIr9CaEgCeuArc6RGghUAVqRI5ao+N5apekIaILwTgL6AJn+Lw/+NRPa8xclgd0rKqUQJMJCDZKjKz2lmIs3bxfELOizxJ3FJQ5R95FAxeAZ6rb/j40YqVVTw2IMBDnEE0J5ZmpUYNUtPti/Adf6GD9Fb2y8sLo0XDJzkI8OxYhfgjSy5KYmRj8O5MXcP2MAE8LQauNO3MaFnL9VMVOTZePJrPozQUgM021uyahf960+QNI06Uqlmg+PwWkSdllQlxHHplOgW7zClFhtSUpnJxcsUBzgg4kVg80gXUwAQkaDi7A9Wh2bs+TvMlmHzBwg+2SaAfWDgjeJIeOaipDkF1uSGzC+EHAiiKYMLd4Aahoi8SuelJUucoyJyLAq00WdUFQIh/izVhM4Y="
  28. #
  29. # Configurations
  30. #
  31. jobs:
  32. include:
  33. ###
  34. # Stage: Build Carl
  35. ###
  36. # ubuntu-19.04 - DefaultDebugTravis
  37. - stage: Build Carl
  38. os: linux
  39. compiler: gcc
  40. env: CONFIG=DefaultDebugTravis LINUX=ubuntu-19.04 COMPILER=gcc
  41. install:
  42. - travis/install_linux.sh
  43. before_script:
  44. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  45. script:
  46. - travis/build_carl.sh
  47. after_success:
  48. - travis/deploy_carl.sh
  49. # ubuntu-19.04 - DefaultReleaseTravis
  50. - stage: Build Carl
  51. os: linux
  52. compiler: gcc
  53. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-19.04 COMPILER=gcc
  54. install:
  55. - travis/install_linux.sh
  56. before_script:
  57. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  58. script:
  59. - travis/build_carl.sh
  60. after_success:
  61. - travis/deploy_carl.sh
  62. ###
  63. # Stage: Build (1st run)
  64. ###
  65. # ubuntu-18.04 - DefaultDebug
  66. - stage: Build (1st run)
  67. os: linux
  68. compiler: gcc
  69. env: CONFIG=DefaultDebug LINUX=ubuntu-18.04 COMPILER=gcc
  70. install:
  71. - rm -rf build
  72. - travis/install_linux.sh
  73. before_script:
  74. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  75. script:
  76. - travis/build.sh Build1
  77. before_cache:
  78. - docker cp storm:/opt/storm/. .
  79. after_failure:
  80. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  81. # ubuntu-18.04 - DefaultRelease
  82. - stage: Build (1st run)
  83. os: linux
  84. compiler: gcc
  85. env: CONFIG=DefaultRelease LINUX=ubuntu-18.04 COMPILER=gcc
  86. install:
  87. - rm -rf build
  88. - travis/install_linux.sh
  89. before_script:
  90. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  91. script:
  92. - travis/build.sh Build1
  93. before_cache:
  94. - docker cp storm:/opt/storm/. .
  95. after_failure:
  96. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  97. # debian-9 - DefaultDebug
  98. - stage: Build (1st run)
  99. os: linux
  100. compiler: gcc
  101. env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc
  102. install:
  103. - rm -rf build
  104. - travis/install_linux.sh
  105. before_script:
  106. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  107. script:
  108. - travis/build.sh Build1
  109. before_cache:
  110. - docker cp storm:/opt/storm/. .
  111. after_failure:
  112. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  113. # debian-9 - DefaultRelease
  114. - stage: Build (1st run)
  115. os: linux
  116. compiler: gcc
  117. env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc
  118. install:
  119. - rm -rf build
  120. - travis/install_linux.sh
  121. before_script:
  122. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  123. script:
  124. - travis/build.sh Build1
  125. before_cache:
  126. - docker cp storm:/opt/storm/. .
  127. after_failure:
  128. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  129. # ubuntu-18.10 - DefaultDebug
  130. - stage: Build (1st run)
  131. os: linux
  132. compiler: gcc
  133. env: CONFIG=DefaultDebug LINUX=ubuntu-18.10 COMPILER=gcc
  134. install:
  135. - rm -rf build
  136. - travis/install_linux.sh
  137. before_script:
  138. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  139. script:
  140. - travis/build.sh Build1
  141. before_cache:
  142. - docker cp storm:/opt/storm/. .
  143. after_failure:
  144. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  145. # ubuntu-18.10 - DefaultRelease
  146. - stage: Build (1st run)
  147. os: linux
  148. compiler: gcc
  149. env: CONFIG=DefaultRelease LINUX=ubuntu-18.10 COMPILER=gcc
  150. install:
  151. - rm -rf build
  152. - travis/install_linux.sh
  153. before_script:
  154. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  155. script:
  156. - travis/build.sh Build1
  157. before_cache:
  158. - docker cp storm:/opt/storm/. .
  159. after_failure:
  160. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  161. # ubuntu-19.04 - DefaultDebugTravis
  162. - stage: Build (1st run)
  163. os: linux
  164. compiler: gcc
  165. env: CONFIG=DefaultDebugTravis LINUX=ubuntu-19.04 COMPILER=gcc
  166. install:
  167. - rm -rf build
  168. - travis/install_linux.sh
  169. before_script:
  170. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  171. script:
  172. - travis/build.sh Build1
  173. before_cache:
  174. - docker cp storm:/opt/storm/. .
  175. after_failure:
  176. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  177. # ubuntu-19.04 - DefaultReleaseTravis
  178. - stage: Build (1st run)
  179. os: linux
  180. compiler: gcc
  181. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-19.04 COMPILER=gcc
  182. install:
  183. - rm -rf build
  184. - travis/install_linux.sh
  185. before_script:
  186. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  187. script:
  188. - travis/build.sh Build1
  189. before_cache:
  190. - docker cp storm:/opt/storm/. .
  191. after_failure:
  192. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  193. ###
  194. # Stage: Build (2nd run)
  195. ###
  196. # ubuntu-18.04 - DefaultDebug
  197. - stage: Build (2nd run)
  198. os: linux
  199. compiler: gcc
  200. env: CONFIG=DefaultDebug LINUX=ubuntu-18.04 COMPILER=gcc
  201. install:
  202. - travis/install_linux.sh
  203. before_script:
  204. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  205. script:
  206. - travis/build.sh Build2
  207. before_cache:
  208. - docker cp storm:/opt/storm/. .
  209. after_failure:
  210. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  211. # ubuntu-18.04 - DefaultRelease
  212. - stage: Build (2nd run)
  213. os: linux
  214. compiler: gcc
  215. env: CONFIG=DefaultRelease LINUX=ubuntu-18.04 COMPILER=gcc
  216. install:
  217. - travis/install_linux.sh
  218. before_script:
  219. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  220. script:
  221. - travis/build.sh Build2
  222. before_cache:
  223. - docker cp storm:/opt/storm/. .
  224. after_failure:
  225. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  226. # debian-9 - DefaultDebug
  227. - stage: Build (2nd run)
  228. os: linux
  229. compiler: gcc
  230. env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc
  231. install:
  232. - travis/install_linux.sh
  233. before_script:
  234. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  235. script:
  236. - travis/build.sh Build2
  237. before_cache:
  238. - docker cp storm:/opt/storm/. .
  239. after_failure:
  240. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  241. # debian-9 - DefaultRelease
  242. - stage: Build (2nd run)
  243. os: linux
  244. compiler: gcc
  245. env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc
  246. install:
  247. - travis/install_linux.sh
  248. before_script:
  249. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  250. script:
  251. - travis/build.sh Build2
  252. before_cache:
  253. - docker cp storm:/opt/storm/. .
  254. after_failure:
  255. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  256. # ubuntu-18.10 - DefaultDebug
  257. - stage: Build (2nd run)
  258. os: linux
  259. compiler: gcc
  260. env: CONFIG=DefaultDebug LINUX=ubuntu-18.10 COMPILER=gcc
  261. install:
  262. - travis/install_linux.sh
  263. before_script:
  264. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  265. script:
  266. - travis/build.sh Build2
  267. before_cache:
  268. - docker cp storm:/opt/storm/. .
  269. after_failure:
  270. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  271. # ubuntu-18.10 - DefaultRelease
  272. - stage: Build (2nd run)
  273. os: linux
  274. compiler: gcc
  275. env: CONFIG=DefaultRelease LINUX=ubuntu-18.10 COMPILER=gcc
  276. install:
  277. - travis/install_linux.sh
  278. before_script:
  279. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  280. script:
  281. - travis/build.sh Build2
  282. before_cache:
  283. - docker cp storm:/opt/storm/. .
  284. after_failure:
  285. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  286. # ubuntu-19.04 - DefaultDebugTravis
  287. - stage: Build (2nd run)
  288. os: linux
  289. compiler: gcc
  290. env: CONFIG=DefaultDebugTravis LINUX=ubuntu-19.04 COMPILER=gcc
  291. install:
  292. - travis/install_linux.sh
  293. before_script:
  294. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  295. script:
  296. - travis/build.sh Build2
  297. before_cache:
  298. - docker cp storm:/opt/storm/. .
  299. after_failure:
  300. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  301. # ubuntu-19.04 - DefaultReleaseTravis
  302. - stage: Build (2nd run)
  303. os: linux
  304. compiler: gcc
  305. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-19.04 COMPILER=gcc
  306. install:
  307. - travis/install_linux.sh
  308. before_script:
  309. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  310. script:
  311. - travis/build.sh Build2
  312. before_cache:
  313. - docker cp storm:/opt/storm/. .
  314. after_failure:
  315. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  316. ###
  317. # Stage: Build (3rd run)
  318. ###
  319. # ubuntu-18.04 - DefaultDebug
  320. - stage: Build (3rd run)
  321. os: linux
  322. compiler: gcc
  323. env: CONFIG=DefaultDebug LINUX=ubuntu-18.04 COMPILER=gcc
  324. install:
  325. - travis/install_linux.sh
  326. before_script:
  327. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  328. script:
  329. - travis/build.sh Build3
  330. before_cache:
  331. - docker cp storm:/opt/storm/. .
  332. after_failure:
  333. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  334. # ubuntu-18.04 - DefaultRelease
  335. - stage: Build (3rd run)
  336. os: linux
  337. compiler: gcc
  338. env: CONFIG=DefaultRelease LINUX=ubuntu-18.04 COMPILER=gcc
  339. install:
  340. - travis/install_linux.sh
  341. before_script:
  342. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  343. script:
  344. - travis/build.sh Build3
  345. before_cache:
  346. - docker cp storm:/opt/storm/. .
  347. after_failure:
  348. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  349. # debian-9 - DefaultDebug
  350. - stage: Build (3rd run)
  351. os: linux
  352. compiler: gcc
  353. env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc
  354. install:
  355. - travis/install_linux.sh
  356. before_script:
  357. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  358. script:
  359. - travis/build.sh Build3
  360. before_cache:
  361. - docker cp storm:/opt/storm/. .
  362. after_failure:
  363. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  364. # debian-9 - DefaultRelease
  365. - stage: Build (3rd run)
  366. os: linux
  367. compiler: gcc
  368. env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc
  369. install:
  370. - travis/install_linux.sh
  371. before_script:
  372. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  373. script:
  374. - travis/build.sh Build3
  375. before_cache:
  376. - docker cp storm:/opt/storm/. .
  377. after_failure:
  378. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  379. # ubuntu-18.10 - DefaultDebug
  380. - stage: Build (3rd run)
  381. os: linux
  382. compiler: gcc
  383. env: CONFIG=DefaultDebug LINUX=ubuntu-18.10 COMPILER=gcc
  384. install:
  385. - travis/install_linux.sh
  386. before_script:
  387. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  388. script:
  389. - travis/build.sh Build3
  390. before_cache:
  391. - docker cp storm:/opt/storm/. .
  392. after_failure:
  393. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  394. # ubuntu-18.10 - DefaultRelease
  395. - stage: Build (3rd run)
  396. os: linux
  397. compiler: gcc
  398. env: CONFIG=DefaultRelease LINUX=ubuntu-18.10 COMPILER=gcc
  399. install:
  400. - travis/install_linux.sh
  401. before_script:
  402. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  403. script:
  404. - travis/build.sh Build3
  405. before_cache:
  406. - docker cp storm:/opt/storm/. .
  407. after_failure:
  408. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  409. # ubuntu-19.04 - DefaultDebugTravis
  410. - stage: Build (3rd run)
  411. os: linux
  412. compiler: gcc
  413. env: CONFIG=DefaultDebugTravis LINUX=ubuntu-19.04 COMPILER=gcc
  414. install:
  415. - travis/install_linux.sh
  416. before_script:
  417. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  418. script:
  419. - travis/build.sh Build3
  420. before_cache:
  421. - docker cp storm:/opt/storm/. .
  422. after_failure:
  423. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  424. # ubuntu-19.04 - DefaultReleaseTravis
  425. - stage: Build (3rd run)
  426. os: linux
  427. compiler: gcc
  428. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-19.04 COMPILER=gcc
  429. install:
  430. - travis/install_linux.sh
  431. before_script:
  432. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  433. script:
  434. - travis/build.sh Build3
  435. before_cache:
  436. - docker cp storm:/opt/storm/. .
  437. after_failure:
  438. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  439. ###
  440. # Stage: Build (4th run)
  441. ###
  442. # ubuntu-18.04 - DefaultDebug
  443. - stage: Build (4th run)
  444. os: linux
  445. compiler: gcc
  446. env: CONFIG=DefaultDebug LINUX=ubuntu-18.04 COMPILER=gcc
  447. install:
  448. - travis/install_linux.sh
  449. before_script:
  450. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  451. script:
  452. - travis/build.sh BuildLast
  453. before_cache:
  454. - docker cp storm:/opt/storm/. .
  455. after_failure:
  456. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  457. # ubuntu-18.04 - DefaultRelease
  458. - stage: Build (4th run)
  459. os: linux
  460. compiler: gcc
  461. env: CONFIG=DefaultRelease LINUX=ubuntu-18.04 COMPILER=gcc
  462. install:
  463. - travis/install_linux.sh
  464. before_script:
  465. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  466. script:
  467. - travis/build.sh BuildLast
  468. before_cache:
  469. - docker cp storm:/opt/storm/. .
  470. after_failure:
  471. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  472. # debian-9 - DefaultDebug
  473. - stage: Build (4th run)
  474. os: linux
  475. compiler: gcc
  476. env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc
  477. install:
  478. - travis/install_linux.sh
  479. before_script:
  480. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  481. script:
  482. - travis/build.sh BuildLast
  483. before_cache:
  484. - docker cp storm:/opt/storm/. .
  485. after_failure:
  486. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  487. # debian-9 - DefaultRelease
  488. - stage: Build (4th run)
  489. os: linux
  490. compiler: gcc
  491. env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc
  492. install:
  493. - travis/install_linux.sh
  494. before_script:
  495. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  496. script:
  497. - travis/build.sh BuildLast
  498. before_cache:
  499. - docker cp storm:/opt/storm/. .
  500. after_failure:
  501. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  502. # ubuntu-18.10 - DefaultDebug
  503. - stage: Build (4th run)
  504. os: linux
  505. compiler: gcc
  506. env: CONFIG=DefaultDebug LINUX=ubuntu-18.10 COMPILER=gcc
  507. install:
  508. - travis/install_linux.sh
  509. before_script:
  510. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  511. script:
  512. - travis/build.sh BuildLast
  513. before_cache:
  514. - docker cp storm:/opt/storm/. .
  515. after_failure:
  516. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  517. # ubuntu-18.10 - DefaultRelease
  518. - stage: Build (4th run)
  519. os: linux
  520. compiler: gcc
  521. env: CONFIG=DefaultRelease LINUX=ubuntu-18.10 COMPILER=gcc
  522. install:
  523. - travis/install_linux.sh
  524. before_script:
  525. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  526. script:
  527. - travis/build.sh BuildLast
  528. before_cache:
  529. - docker cp storm:/opt/storm/. .
  530. after_failure:
  531. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  532. # ubuntu-19.04 - DefaultDebugTravis
  533. - stage: Build (4th run)
  534. os: linux
  535. compiler: gcc
  536. env: CONFIG=DefaultDebugTravis LINUX=ubuntu-19.04 COMPILER=gcc
  537. install:
  538. - travis/install_linux.sh
  539. before_script:
  540. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  541. script:
  542. - travis/build.sh BuildLast
  543. before_cache:
  544. - docker cp storm:/opt/storm/. .
  545. after_failure:
  546. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  547. # ubuntu-19.04 - DefaultReleaseTravis
  548. - stage: Build (4th run)
  549. os: linux
  550. compiler: gcc
  551. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-19.04 COMPILER=gcc
  552. install:
  553. - travis/install_linux.sh
  554. before_script:
  555. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  556. script:
  557. - travis/build.sh BuildLast
  558. before_cache:
  559. - docker cp storm:/opt/storm/. .
  560. after_failure:
  561. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  562. ###
  563. # Stage: Test all
  564. ###
  565. # ubuntu-18.04 - DefaultDebug
  566. - stage: Test all
  567. os: linux
  568. compiler: gcc
  569. env: CONFIG=DefaultDebug LINUX=ubuntu-18.04 COMPILER=gcc
  570. install:
  571. - travis/install_linux.sh
  572. before_script:
  573. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  574. script:
  575. - travis/build.sh TestAll
  576. before_cache:
  577. - docker cp storm:/opt/storm/. .
  578. after_failure:
  579. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  580. # ubuntu-18.04 - DefaultRelease
  581. - stage: Test all
  582. os: linux
  583. compiler: gcc
  584. env: CONFIG=DefaultRelease LINUX=ubuntu-18.04 COMPILER=gcc
  585. install:
  586. - travis/install_linux.sh
  587. before_script:
  588. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  589. script:
  590. - travis/build.sh TestAll
  591. before_cache:
  592. - docker cp storm:/opt/storm/. .
  593. after_failure:
  594. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  595. # debian-9 - DefaultDebug
  596. - stage: Test all
  597. os: linux
  598. compiler: gcc
  599. env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc
  600. install:
  601. - travis/install_linux.sh
  602. before_script:
  603. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  604. script:
  605. - travis/build.sh TestAll
  606. before_cache:
  607. - docker cp storm:/opt/storm/. .
  608. after_failure:
  609. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  610. # debian-9 - DefaultRelease
  611. - stage: Test all
  612. os: linux
  613. compiler: gcc
  614. env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc
  615. install:
  616. - travis/install_linux.sh
  617. before_script:
  618. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  619. script:
  620. - travis/build.sh TestAll
  621. before_cache:
  622. - docker cp storm:/opt/storm/. .
  623. after_failure:
  624. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  625. # ubuntu-18.10 - DefaultDebug
  626. - stage: Test all
  627. os: linux
  628. compiler: gcc
  629. env: CONFIG=DefaultDebug LINUX=ubuntu-18.10 COMPILER=gcc
  630. install:
  631. - travis/install_linux.sh
  632. before_script:
  633. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  634. script:
  635. - travis/build.sh TestAll
  636. before_cache:
  637. - docker cp storm:/opt/storm/. .
  638. after_failure:
  639. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  640. # ubuntu-18.10 - DefaultRelease
  641. - stage: Test all
  642. os: linux
  643. compiler: gcc
  644. env: CONFIG=DefaultRelease LINUX=ubuntu-18.10 COMPILER=gcc
  645. install:
  646. - travis/install_linux.sh
  647. before_script:
  648. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  649. script:
  650. - travis/build.sh TestAll
  651. before_cache:
  652. - docker cp storm:/opt/storm/. .
  653. after_failure:
  654. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  655. # ubuntu-19.04 - DefaultDebugTravis
  656. - stage: Test all
  657. os: linux
  658. compiler: gcc
  659. env: CONFIG=DefaultDebugTravis LINUX=ubuntu-19.04 COMPILER=gcc
  660. install:
  661. - travis/install_linux.sh
  662. before_script:
  663. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  664. script:
  665. - travis/build.sh TestAll
  666. before_cache:
  667. - docker cp storm:/opt/storm/. .
  668. after_failure:
  669. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  670. after_success:
  671. - travis/deploy_storm.sh
  672. # ubuntu-19.04 - DefaultReleaseTravis
  673. - stage: Test all
  674. os: linux
  675. compiler: gcc
  676. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-19.04 COMPILER=gcc
  677. install:
  678. - travis/install_linux.sh
  679. before_script:
  680. - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # Workaround for nonblocking mode
  681. script:
  682. - travis/build.sh TestAll
  683. before_cache:
  684. - docker cp storm:/opt/storm/. .
  685. after_failure:
  686. - find build -iname '*err*.log' -type f -print -exec cat {} \;
  687. after_success:
  688. - travis/deploy_storm.sh
  689. allow_failures:
  690. - stage: Build (1st run)
  691. os: linux
  692. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-19.04 COMPILER=gcc
  693. - stage: Build (2nd run)
  694. os: linux
  695. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-19.04 COMPILER=gcc
  696. - stage: Build (3rd run)
  697. os: linux
  698. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-19.04 COMPILER=gcc
  699. - stage: Build (4th run)
  700. os: linux
  701. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-19.04 COMPILER=gcc
  702. - stage: Test all
  703. os: linux
  704. env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-19.04 COMPILER=gcc