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.

715 lines
24 KiB

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