.gitlab-ci.yml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678
  1. stages:
  2. - primary
  3. - secondary
  4. - platforms
  5. - clients
  6. # - extras
  7. variables: &base_vars
  8. # Configure mysql service (https://hub.docker.com/_/mysql/)
  9. MYSQL_DATABASE: 'ragnarok'
  10. MYSQL_USER: 'ragnarok'
  11. MYSQL_PASSWORD: 'ragnarok'
  12. MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
  13. GIT_DEPTH: '3'
  14. DEBIAN_COMMON_PACKAGES: make autoconf zlib1g-dev libpcre3-dev git python
  15. .prerequisites: &prerequisites
  16. before_script:
  17. - echo "Building $CI_BUILD_NAME"
  18. - uname -a
  19. - ./tools/ci/retry.sh apt-get update
  20. - ./tools/ci/retry.sh apt-get install -y -qq $INSTALL_PACKAGES $DEBIAN_COMMON_PACKAGES
  21. # - ./tools/ci/travis.sh importdb ragnarok ragnarok ragnarok $SQLHOST
  22. # - ./tools/ci/travis.sh getplugins || true
  23. services:
  24. - mysql:latest
  25. .branch_exceptions: &branch_exceptions
  26. only:
  27. - branches
  28. except:
  29. - rathena
  30. - coverity_scan
  31. # Compilers
  32. re:clang-6.0:
  33. <<: *branch_exceptions
  34. <<: *prerequisites
  35. stage: secondary
  36. image: debian:buster
  37. services:
  38. - mariadb:10
  39. variables:
  40. <<: *base_vars
  41. INSTALL_PACKAGES: clang-6.0 mariadb-client libmariadbclient-dev-compat
  42. SQLHOST: mariadb
  43. script:
  44. - ./tools/ci/travis.sh build CC=clang-6.0 --enable-debug --enable-Werror --enable-buildbot
  45. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  46. zero-2018:clang-6.0:
  47. <<: *branch_exceptions
  48. <<: *prerequisites
  49. stage: clients
  50. image: debian:buster
  51. services:
  52. - mariadb:10
  53. variables:
  54. <<: *base_vars
  55. INSTALL_PACKAGES: clang-6.0 mariadb-client libmariadbclient-dev-compat
  56. SQLHOST: mariadb
  57. script:
  58. - ./tools/ci/travis.sh build CC=clang-6.0 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
  59. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  60. re:clang-7:
  61. <<: *branch_exceptions
  62. <<: *prerequisites
  63. stage: primary
  64. image: debian:buster
  65. services:
  66. - mariadb:10
  67. variables:
  68. <<: *base_vars
  69. INSTALL_PACKAGES: clang-7 mariadb-client libmariadbclient-dev-compat
  70. SQLHOST: mariadb
  71. script:
  72. - ./tools/ci/travis.sh build CC=clang-7 --enable-debug --enable-Werror --enable-buildbot
  73. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  74. zero-2018:clang-7:
  75. <<: *branch_exceptions
  76. <<: *prerequisites
  77. stage: clients
  78. image: debian:buster
  79. services:
  80. - mariadb:10
  81. variables:
  82. <<: *base_vars
  83. INSTALL_PACKAGES: clang-7 mariadb-client libmariadbclient-dev-compat
  84. SQLHOST: mariadb
  85. script:
  86. - ./tools/ci/travis.sh build CC=clang-7 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
  87. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  88. .pre_re:clang-8:
  89. <<: *branch_exceptions
  90. <<: *prerequisites
  91. stage: secondary
  92. image: debian:buster
  93. services:
  94. - mariadb:10
  95. variables:
  96. <<: *base_vars
  97. INSTALL_PACKAGES: clang-8 mariadb-client libmariadbclient-dev-compat
  98. SQLHOST: mariadb
  99. script:
  100. - ./tools/ci/travis.sh build CC=clang-8 --enable-debug --enable-Werror --enable-buildbot --disable-renewal
  101. - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  102. .re:clang-8:
  103. <<: *branch_exceptions
  104. <<: *prerequisites
  105. stage: secondary
  106. image: debian:buster
  107. services:
  108. - mariadb:10
  109. variables:
  110. <<: *base_vars
  111. INSTALL_PACKAGES: clang-8 mariadb-client libmariadbclient-dev-compat
  112. SQLHOST: mariadb
  113. script:
  114. - ./tools/ci/travis.sh build CC=clang-8 --enable-debug --enable-Werror --enable-buildbot
  115. - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  116. .zero-2018:clang-8:
  117. <<: *branch_exceptions
  118. <<: *prerequisites
  119. stage: clients
  120. image: debian:buster
  121. services:
  122. - mariadb:10
  123. variables:
  124. <<: *base_vars
  125. INSTALL_PACKAGES: clang-8 mariadb-client libmariadbclient-dev-compat
  126. SQLHOST: mariadb
  127. script:
  128. - ./tools/ci/travis.sh build CC=clang-8 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
  129. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  130. pre_re:clang-11:
  131. <<: *branch_exceptions
  132. <<: *prerequisites
  133. stage: secondary
  134. image: debian:unstable
  135. services:
  136. - mariadb:10
  137. variables:
  138. <<: *base_vars
  139. INSTALL_PACKAGES: clang-11 mariadb-client libmariadbclient-dev-compat
  140. SQLHOST: mariadb
  141. script:
  142. - ./tools/ci/travis.sh build CC=clang-11 --enable-debug --enable-Werror --enable-buildbot --disable-renewal
  143. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  144. re:clang-11:
  145. <<: *branch_exceptions
  146. <<: *prerequisites
  147. stage: secondary
  148. image: debian:unstable
  149. services:
  150. - mariadb:10
  151. variables:
  152. <<: *base_vars
  153. INSTALL_PACKAGES: clang-11 mariadb-client libmariadbclient-dev-compat
  154. SQLHOST: mariadb
  155. script:
  156. - ./tools/ci/travis.sh build CC=clang-11 --enable-debug --enable-Werror --enable-buildbot
  157. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  158. zero-2018:clang-11:
  159. <<: *branch_exceptions
  160. <<: *prerequisites
  161. stage: clients
  162. image: debian:unstable
  163. services:
  164. - mariadb:10
  165. variables:
  166. <<: *base_vars
  167. INSTALL_PACKAGES: clang-11 mariadb-client libmariadbclient-dev-compat
  168. SQLHOST: mariadb
  169. script:
  170. - ./tools/ci/travis.sh build CC=clang-11 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
  171. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  172. pre_re:gcc-4.8:
  173. <<: *branch_exceptions
  174. <<: *prerequisites
  175. stage: secondary
  176. image: debian:jessie
  177. services:
  178. - mysql:5.5
  179. variables:
  180. <<: *base_vars
  181. INSTALL_PACKAGES: gcc-4.8 mysql-client libmysqlclient-dev
  182. SQLHOST: mysql
  183. script:
  184. - ./tools/ci/travis.sh build CC=gcc-4.8 --enable-debug --enable-Werror --enable-buildbot --disable-renewal
  185. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  186. re:gcc-4.8:
  187. <<: *branch_exceptions
  188. <<: *prerequisites
  189. stage: secondary
  190. image: debian:jessie
  191. services:
  192. - mysql:5.5
  193. variables:
  194. <<: *base_vars
  195. INSTALL_PACKAGES: gcc-4.8 mysql-client libmysqlclient-dev
  196. SQLHOST: mysql
  197. script:
  198. - ./tools/ci/travis.sh build CC=gcc-4.8 --enable-debug --enable-Werror --enable-buildbot
  199. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  200. zero-2018:gcc-4.8:
  201. <<: *branch_exceptions
  202. <<: *prerequisites
  203. stage: clients
  204. image: debian:jessie
  205. services:
  206. - mysql:5.5
  207. variables:
  208. <<: *base_vars
  209. INSTALL_PACKAGES: gcc-4.8 mysql-client libmysqlclient-dev
  210. SQLHOST: mysql
  211. script:
  212. - ./tools/ci/travis.sh build CC=gcc-4.8 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
  213. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  214. re:gcc-4.9:
  215. <<: *branch_exceptions
  216. <<: *prerequisites
  217. stage: secondary
  218. image: debian:jessie
  219. services:
  220. - mysql:5.5
  221. variables:
  222. <<: *base_vars
  223. INSTALL_PACKAGES: gcc-4.9 mysql-client libmysqlclient-dev
  224. SQLHOST: mysql
  225. script:
  226. - ./tools/ci/travis.sh build CC=gcc-4.9 --enable-debug --enable-Werror --enable-buildbot
  227. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  228. zero-2018:gcc-4.9:
  229. <<: *branch_exceptions
  230. <<: *prerequisites
  231. stage: clients
  232. image: debian:jessie
  233. services:
  234. - mysql:5.5
  235. variables:
  236. <<: *base_vars
  237. INSTALL_PACKAGES: gcc-4.9 mysql-client libmysqlclient-dev
  238. SQLHOST: mysql
  239. script:
  240. - ./tools/ci/travis.sh build CC=gcc-4.9 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
  241. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  242. re:gcc-6:
  243. <<: *branch_exceptions
  244. <<: *prerequisites
  245. stage: primary
  246. image: debian:stretch
  247. services:
  248. - mariadb:10.1
  249. variables:
  250. <<: *base_vars
  251. INSTALL_PACKAGES: gcc-6 mariadb-client libmariadbclient-dev-compat
  252. SQLHOST: mariadb
  253. script:
  254. - ./tools/ci/travis.sh build CC=gcc-6 --enable-debug --enable-Werror --enable-buildbot
  255. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  256. zero-2018:gcc-6:
  257. <<: *branch_exceptions
  258. <<: *prerequisites
  259. stage: clients
  260. image: debian:stretch
  261. services:
  262. - mariadb:10.1
  263. variables:
  264. <<: *base_vars
  265. INSTALL_PACKAGES: gcc-6 mariadb-client libmariadbclient-dev-compat
  266. SQLHOST: mariadb
  267. script:
  268. - ./tools/ci/travis.sh build CC=gcc-6 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
  269. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  270. re:gcc-7:
  271. <<: *branch_exceptions
  272. <<: *prerequisites
  273. stage: secondary
  274. image: debian:buster
  275. services:
  276. - mariadb:10
  277. variables:
  278. <<: *base_vars
  279. INSTALL_PACKAGES: gcc-7 mariadb-client libmariadbclient-dev-compat
  280. SQLHOST: mariadb
  281. script:
  282. - ./tools/ci/travis.sh build CC=gcc-7 --enable-debug --enable-Werror --enable-buildbot
  283. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  284. zero-2018:gcc-7:
  285. <<: *branch_exceptions
  286. <<: *prerequisites
  287. stage: clients
  288. image: debian:buster
  289. services:
  290. - mariadb:10
  291. variables:
  292. <<: *base_vars
  293. INSTALL_PACKAGES: gcc-7 mariadb-client libmariadbclient-dev-compat
  294. SQLHOST: mariadb
  295. script:
  296. - ./tools/ci/travis.sh build CC=gcc-7 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
  297. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  298. re:gcc-8:
  299. <<: *branch_exceptions
  300. <<: *prerequisites
  301. stage: primary
  302. image: debian:buster
  303. services:
  304. - mariadb:10
  305. variables:
  306. <<: *base_vars
  307. INSTALL_PACKAGES: gcc-8 mariadb-client libmariadbclient-dev-compat
  308. SQLHOST: mariadb
  309. script:
  310. - ./tools/ci/travis.sh build CC=gcc-8 --enable-debug --enable-Werror --enable-buildbot
  311. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  312. zero-2018:gcc-8:
  313. <<: *branch_exceptions
  314. <<: *prerequisites
  315. stage: clients
  316. image: debian:buster
  317. services:
  318. - mariadb:10
  319. variables:
  320. <<: *base_vars
  321. INSTALL_PACKAGES: gcc-8 mariadb-client libmariadbclient-dev-compat
  322. SQLHOST: mariadb
  323. script:
  324. - ./tools/ci/travis.sh build CC=gcc-8 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
  325. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  326. .re:gcc-8_i386:
  327. <<: *branch_exceptions
  328. <<: *prerequisites
  329. stage: primary
  330. image: i386/debian:stretch
  331. services:
  332. - mariadb:10
  333. variables:
  334. <<: *base_vars
  335. INSTALL_PACKAGES: gcc-8 mariadb-client libmariadbclient-dev-compat
  336. SQLHOST: mariadb
  337. script:
  338. - ./tools/ci/travis.sh build CC=gcc-8 --enable-debug --enable-Werror --enable-buildbot
  339. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  340. .zero-2018:gcc-8_i386:
  341. <<: *branch_exceptions
  342. <<: *prerequisites
  343. stage: clients
  344. image: i386/debian:stretch
  345. services:
  346. - mariadb:10
  347. variables:
  348. <<: *base_vars
  349. INSTALL_PACKAGES: gcc-8 mariadb-client libmariadbclient-dev-compat
  350. SQLHOST: mariadb
  351. script:
  352. - ./tools/ci/travis.sh build CC=gcc-8 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
  353. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  354. re:gcc-8_sanitize:
  355. <<: *branch_exceptions
  356. <<: *prerequisites
  357. stage: secondary
  358. image: debian:buster
  359. services:
  360. - mariadb:10
  361. variables:
  362. <<: *base_vars
  363. INSTALL_PACKAGES: gcc-8 mariadb-client libmariadbclient-dev-compat
  364. SQLHOST: mariadb
  365. script:
  366. - ./tools/ci/travis.sh build CC=gcc-8 --enable-debug --enable-Werror --enable-buildbot --disable-manager --enable-sanitize=full
  367. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  368. zero-2018:gcc-8_sanitize:
  369. <<: *branch_exceptions
  370. <<: *prerequisites
  371. stage: clients
  372. image: debian:buster
  373. services:
  374. - mariadb:10
  375. variables:
  376. <<: *base_vars
  377. INSTALL_PACKAGES: gcc-8 mariadb-client libmariadbclient-dev-compat
  378. SQLHOST: mariadb
  379. script:
  380. - ./tools/ci/travis.sh build CC=gcc-8 --enable-debug --enable-Werror --enable-buildbot --disable-manager --enable-sanitize=full --enable-packetver-zero --enable-packetver=20180511
  381. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  382. .re:gcc-8_i386_sanitize:
  383. <<: *branch_exceptions
  384. <<: *prerequisites
  385. stage: secondary
  386. image: i386/debian:stretch
  387. services:
  388. - mariadb:10
  389. variables:
  390. <<: *base_vars
  391. INSTALL_PACKAGES: gcc-8 mariadb-client libmariadbclient-dev-compat
  392. SQLHOST: mariadb
  393. script:
  394. - ./tools/ci/travis.sh build CC=gcc-8 --enable-debug --enable-Werror --enable-buildbot --disable-manager --enable-sanitize=full
  395. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  396. .zero-2018:gcc-8_i386_sanitize:
  397. <<: *branch_exceptions
  398. <<: *prerequisites
  399. stage: clients
  400. image: i386/debian:stretch
  401. services:
  402. - mariadb:10
  403. variables:
  404. <<: *base_vars
  405. INSTALL_PACKAGES: gcc-8 mariadb-client libmariadbclient-dev-compat
  406. SQLHOST: mariadb
  407. script:
  408. - ./tools/ci/travis.sh build CC=gcc-8 --enable-debug --enable-Werror --enable-buildbot --disable-manager --enable-sanitize=full --enable-packetver-zero --enable-packetver=20180511
  409. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  410. re:gcc-8_cov:
  411. <<: *branch_exceptions
  412. <<: *prerequisites
  413. stage: secondary
  414. image: debian:buster
  415. services:
  416. - mariadb:10
  417. variables:
  418. <<: *base_vars
  419. INSTALL_PACKAGES: gcc-8 gcovr mariadb-client libmariadbclient-dev-compat
  420. SQLHOST: mariadb
  421. script:
  422. - ./tools/ci/travis.sh build CC=gcc-8 --enable-debug --enable-Werror --enable-buildbot CFLAGS="-coverage" LDFLAGS="-coverage"
  423. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  424. # - gcovr -r . --gcov-executable=gcov-8 -o gcov_re.txt
  425. # - gcovr -r . --gcov-executable=gcov-8 --html -o gcov_re.html
  426. # - cat gcov_re.txt
  427. # artifacts:
  428. # paths:
  429. # - gcov_re.*
  430. # when: on_success
  431. # Distributions
  432. re:debian-oldstable:
  433. <<: *branch_exceptions
  434. <<: *prerequisites
  435. stage: platforms
  436. image: debian:oldstable
  437. services:
  438. - mariadb:10.1
  439. variables:
  440. <<: *base_vars
  441. INSTALL_PACKAGES: gcc mariadb-client libmariadbclient-dev-compat
  442. SQLHOST: mariadb
  443. script:
  444. - ./tools/ci/travis.sh build --enable-debug --enable-Werror --enable-buildbot
  445. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  446. re:debian-stable:
  447. <<: *branch_exceptions
  448. <<: *prerequisites
  449. stage: platforms
  450. image: debian:stable
  451. services:
  452. - mariadb:10.3
  453. variables:
  454. <<: *base_vars
  455. INSTALL_PACKAGES: gcc mariadb-client libmariadbclient-dev-compat
  456. SQLHOST: mariadb
  457. script:
  458. - ./tools/ci/travis.sh build --enable-debug --enable-Werror --enable-buildbot
  459. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  460. re:debian-testing:
  461. <<: *branch_exceptions
  462. <<: *prerequisites
  463. stage: platforms
  464. image: debian:testing
  465. services:
  466. - mariadb:10.3
  467. variables:
  468. <<: *base_vars
  469. INSTALL_PACKAGES: gcc mariadb-client libmariadbclient-dev-compat
  470. SQLHOST: mariadb
  471. script:
  472. - ./tools/ci/travis.sh build --enable-debug --enable-Werror --enable-buildbot
  473. re:ubuntu-xenial:
  474. <<: *branch_exceptions
  475. <<: *prerequisites
  476. stage: platforms
  477. image: ubuntu:16.04
  478. services:
  479. - mysql:5.7
  480. variables:
  481. <<: *base_vars
  482. INSTALL_PACKAGES: gcc mysql-client libmysqlclient-dev
  483. SQLHOST: mysql
  484. script:
  485. - ./tools/ci/travis.sh build --enable-debug --enable-Werror --enable-buildbot
  486. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  487. pre_re:ubuntu-bionic:
  488. <<: *branch_exceptions
  489. <<: *prerequisites
  490. stage: platforms
  491. image: ubuntu:18.04
  492. services:
  493. - mysql:5.7
  494. variables:
  495. <<: *base_vars
  496. INSTALL_PACKAGES: gcc mysql-client libmysqlclient-dev
  497. SQLHOST: mysql
  498. script:
  499. - ./tools/ci/travis.sh build --enable-debug --enable-Werror --enable-buildbot --disable-renewal
  500. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  501. re:ubuntu-bionic:
  502. <<: *branch_exceptions
  503. <<: *prerequisites
  504. stage: platforms
  505. image: ubuntu:18.04
  506. services:
  507. - mysql:5.7
  508. variables:
  509. <<: *base_vars
  510. INSTALL_PACKAGES: gcc mysql-client libmysqlclient-dev
  511. SQLHOST: mysql
  512. script:
  513. - ./tools/ci/travis.sh build --enable-debug --enable-Werror --enable-buildbot
  514. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  515. # SQL servers
  516. re:mysql-5.5:
  517. <<: *branch_exceptions
  518. <<: *prerequisites
  519. stage: platforms
  520. image: debian:jessie
  521. services:
  522. - mysql:5.5
  523. variables:
  524. <<: *base_vars
  525. INSTALL_PACKAGES: gcc mysql-client-5.5 libmysqlclient-dev
  526. SQLHOST: mysql
  527. script:
  528. - ./tools/ci/travis.sh build --enable-debug --enable-Werror --enable-buildbot
  529. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  530. re:mysql-5.6:
  531. <<: *branch_exceptions
  532. <<: *prerequisites
  533. stage: platforms
  534. image: debian:unstable
  535. services:
  536. - mysql:5.6
  537. variables:
  538. <<: *base_vars
  539. INSTALL_PACKAGES: gcc mysql-client libmysqlclient-dev
  540. SQLHOST: mysql
  541. script:
  542. - ./tools/ci/travis.sh build --enable-debug --enable-Werror --enable-buildbot
  543. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  544. re:mysql-8.0:
  545. <<: *branch_exceptions
  546. <<: *prerequisites
  547. stage: platforms
  548. image: debian:unstable
  549. services:
  550. - mysql:8.0
  551. variables:
  552. <<: *base_vars
  553. INSTALL_PACKAGES: gcc mysql-client-8.0 libmysqlclient-dev
  554. SQLHOST: mysql
  555. script:
  556. - ./tools/ci/travis.sh build --enable-debug --enable-Werror --enable-buildbot
  557. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  558. re:mariadb-10.0:
  559. <<: *branch_exceptions
  560. <<: *prerequisites
  561. stage: platforms
  562. image: debian:jessie
  563. services:
  564. - mariadb:10.0
  565. variables:
  566. <<: *base_vars
  567. INSTALL_PACKAGES: gcc mariadb-client-10.0 libmysqlclient-dev
  568. SQLHOST: mariadb
  569. script:
  570. - ./tools/ci/travis.sh build --enable-debug --enable-Werror --enable-buildbot
  571. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  572. re:mariadb-10.1:
  573. <<: *branch_exceptions
  574. <<: *prerequisites
  575. stage: platforms
  576. image: debian:stretch
  577. services:
  578. - mariadb:10.1
  579. variables:
  580. <<: *base_vars
  581. INSTALL_PACKAGES: gcc mariadb-client-10.1 libmariadbclient-dev-compat
  582. SQLHOST: mariadb
  583. script:
  584. - ./tools/ci/travis.sh build --enable-debug --enable-Werror --enable-buildbot
  585. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  586. re:mariadb-10.3:
  587. <<: *branch_exceptions
  588. <<: *prerequisites
  589. stage: platforms
  590. image: debian:buster
  591. services:
  592. - mariadb:10.3
  593. variables:
  594. <<: *base_vars
  595. INSTALL_PACKAGES: gcc mariadb-client-10.3 libmariadbclient-dev-compat
  596. SQLHOST: mariadb
  597. script:
  598. - ./tools/ci/travis.sh build --enable-debug --enable-Werror --enable-buildbot
  599. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  600. re:mariadb-latest:
  601. <<: *branch_exceptions
  602. <<: *prerequisites
  603. stage: platforms
  604. image: debian:unstable
  605. services:
  606. - mariadb:latest
  607. variables:
  608. <<: *base_vars
  609. INSTALL_PACKAGES: gcc mariadb-client libmariadbclient-dev-compat
  610. SQLHOST: mariadb
  611. script:
  612. - ./tools/ci/travis.sh build --enable-debug --enable-Werror --enable-buildbot
  613. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
  614. re:percona:
  615. <<: *branch_exceptions
  616. <<: *prerequisites
  617. stage: platforms
  618. image: debian:stretch
  619. services:
  620. - percona:latest
  621. variables:
  622. <<: *base_vars
  623. INSTALL_PACKAGES: gcc mariadb-client libmariadbclient-dev-compat
  624. SQLHOST: percona
  625. script:
  626. - ./tools/ci/travis.sh build --enable-debug --enable-Werror --enable-buildbot
  627. # - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST