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.

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