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.

.drone.yml 51KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961
  1. kind: pipeline
  2. name: checkers
  3. steps:
  4. - name: submodules
  5. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  6. commands:
  7. - git submodule update --init
  8. - name: checkers
  9. image: ghcr.io/nextcloud/continuous-integration-php7.3:php7.3-6
  10. commands:
  11. - ./autotest-checkers.sh
  12. secrets: [ github_token ]
  13. trigger:
  14. branch:
  15. - master
  16. - stable*
  17. event:
  18. - pull_request
  19. - push
  20. ---
  21. kind: pipeline
  22. name: litmus
  23. steps:
  24. - name: submodules
  25. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  26. commands:
  27. - git submodule update --init
  28. - name: litmus-v1
  29. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  30. commands:
  31. - bash tests/travis/install.sh sqlite
  32. - bash apps/dav/tests/travis/litmus-v1/script.sh
  33. - name: litmus-v2
  34. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  35. commands:
  36. - bash tests/travis/install.sh sqlite
  37. - bash apps/dav/tests/travis/litmus-v2/script.sh
  38. trigger:
  39. branch:
  40. - master
  41. - stable*
  42. event:
  43. - pull_request
  44. - push
  45. ---
  46. kind: pipeline
  47. name: caldavtester-new-endpoint
  48. steps:
  49. - name: submodules
  50. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  51. commands:
  52. - git submodule update --init
  53. - name: caldavtester-new-endpoint
  54. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  55. commands:
  56. - bash tests/travis/install.sh sqlite
  57. - bash apps/dav/tests/travis/caldav/install.sh
  58. - bash apps/dav/tests/travis/caldav/script-new-endpoint.sh
  59. trigger:
  60. branch:
  61. - master
  62. - stable*
  63. event:
  64. - pull_request
  65. - push
  66. ---
  67. kind: pipeline
  68. name: caldavtester-old-endpoint
  69. steps:
  70. - name: submodules
  71. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  72. commands:
  73. - git submodule update --init
  74. - name: caldavtester-old-endpoint
  75. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  76. commands:
  77. - bash tests/travis/install.sh sqlite
  78. - bash apps/dav/tests/travis/caldav/install.sh
  79. - bash apps/dav/tests/travis/caldav/script-old-endpoint.sh
  80. trigger:
  81. branch:
  82. - master
  83. - stable*
  84. event:
  85. - pull_request
  86. - push
  87. ---
  88. kind: pipeline
  89. name: carddavtester-new-endpoint
  90. steps:
  91. - name: submodules
  92. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  93. commands:
  94. - git submodule update --init
  95. - name: carddavtester-new-endpoint
  96. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  97. commands:
  98. - bash tests/travis/install.sh sqlite
  99. - bash apps/dav/tests/travis/carddav/install.sh
  100. - bash apps/dav/tests/travis/carddav/script-new-endpoint.sh
  101. trigger:
  102. branch:
  103. - master
  104. - stable*
  105. event:
  106. - pull_request
  107. - push
  108. ---
  109. kind: pipeline
  110. name: carddavtester-old-endpoint
  111. steps:
  112. - name: submodules
  113. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  114. commands:
  115. - git submodule update --init
  116. - name: carddavtester-old-endpoint
  117. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  118. commands:
  119. - bash tests/travis/install.sh sqlite
  120. - bash apps/dav/tests/travis/carddav/install.sh
  121. - bash apps/dav/tests/travis/carddav/script-old-endpoint.sh
  122. trigger:
  123. branch:
  124. - master
  125. - stable*
  126. event:
  127. - pull_request
  128. - push
  129. ---
  130. kind: pipeline
  131. name: samba
  132. steps:
  133. - name: submodules
  134. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  135. commands:
  136. - git submodule update --init
  137. - name: sqlite-php7.3-samba-native
  138. image: nextcloudci/samba-native-php7.3:samba-native-php7.3-1
  139. commands:
  140. - smbd -D -FS &
  141. - ./autotest-external.sh sqlite smb-linux
  142. - wget https://codecov.io/bash -O codecov.sh
  143. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
  144. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
  145. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi"
  146. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi"
  147. - name: sqlite-php7.3-samba-non-native
  148. image: nextcloudci/samba-non-native-php7.3:samba-non-native-php7.3-1
  149. commands:
  150. - smbd -D -FS &
  151. - ./autotest-external.sh sqlite smb-linux
  152. - wget https://codecov.io/bash -O codecov.sh
  153. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
  154. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
  155. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi"
  156. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi"
  157. trigger:
  158. branch:
  159. - master
  160. - stable*
  161. event:
  162. - pull_request
  163. - push
  164. ---
  165. kind: pipeline
  166. name: sqlite-php7.3-webdav-apache
  167. steps:
  168. - name: submodules
  169. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  170. commands:
  171. - git submodule update --init
  172. - name: sqlite-php7.3-webdav-apache
  173. image: nextcloudci/webdav-apache-php7.3:webdav-apache-php7.3-3
  174. commands:
  175. - apache2
  176. - ./autotest-external.sh sqlite webdav-apachedrone
  177. - wget https://codecov.io/bash -O codecov.sh
  178. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
  179. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
  180. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-webdav-apachedrone.xml; fi"
  181. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-webdav-apachedrone.xml; fi"
  182. services:
  183. - name: cache
  184. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  185. trigger:
  186. branch:
  187. - master
  188. - stable*
  189. event:
  190. - pull_request
  191. - push
  192. ---
  193. kind: pipeline
  194. name: nodb
  195. steps:
  196. - name: submodules
  197. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  198. commands:
  199. - git submodule update --init
  200. - name: nodb-php7.3
  201. image: ghcr.io/nextcloud/continuous-integration-php7.3:php7.3-6
  202. commands:
  203. - bash tests/drone-run-php-tests.sh || exit 0
  204. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  205. - name: nodb-php7.4
  206. image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
  207. commands:
  208. - bash tests/drone-run-php-tests.sh || exit 0
  209. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  210. - name: nodb-php8.0
  211. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  212. commands:
  213. - bash tests/drone-run-php-tests.sh || exit 0
  214. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  215. services:
  216. - name: cache
  217. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  218. trigger:
  219. branch:
  220. - master
  221. - stable*
  222. event:
  223. - pull_request
  224. - push
  225. ---
  226. kind: pipeline
  227. name: sqlite
  228. steps:
  229. - name: submodules
  230. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  231. commands:
  232. - git submodule update --init
  233. - name: sqlite-php7.3
  234. image: ghcr.io/nextcloud/continuous-integration-php7.3:php7.3-6
  235. commands:
  236. - bash tests/drone-run-php-tests.sh || exit 0
  237. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  238. - name: sqlite-php7.4
  239. image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
  240. commands:
  241. - bash tests/drone-run-php-tests.sh || exit 0
  242. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  243. - name: sqlite-php8.0
  244. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  245. commands:
  246. - bash tests/drone-run-php-tests.sh || exit 0
  247. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  248. services:
  249. - name: cache
  250. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  251. trigger:
  252. branch:
  253. - master
  254. - stable*
  255. event:
  256. - pull_request
  257. - push
  258. ---
  259. kind: pipeline
  260. name: mariadb10.1-php7.3
  261. steps:
  262. - name: submodules
  263. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  264. commands:
  265. - git submodule update --init
  266. - name: mariadb10.1-php7.3
  267. image: ghcr.io/nextcloud/continuous-integration-php7.3:php7.3-6
  268. commands:
  269. - bash tests/drone-run-php-tests.sh || exit 0
  270. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  271. services:
  272. - name: cache
  273. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  274. - name: mariadb
  275. image: ghcr.io/nextcloud/continuous-integration-mariadb-10.1:10.1
  276. environment:
  277. MYSQL_ROOT_PASSWORD: owncloud
  278. MYSQL_USER: oc_autotest
  279. MYSQL_PASSWORD: owncloud
  280. MYSQL_DATABASE: oc_autotest
  281. tmpfs:
  282. - /var/lib/mysql
  283. trigger:
  284. branch:
  285. - master
  286. - stable*
  287. event:
  288. - pull_request
  289. - push
  290. ---
  291. kind: pipeline
  292. name: mariadb10.4-php8.0
  293. steps:
  294. - name: submodules
  295. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  296. commands:
  297. - git submodule update --init
  298. - name: mariadb10.4-php8.0
  299. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  300. commands:
  301. - bash tests/drone-run-php-tests.sh || exit 0
  302. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  303. services:
  304. - name: cache
  305. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  306. - name: mariadb
  307. image: ghcr.io/nextcloud/continuous-integration-mariadb-10.4:10.4
  308. environment:
  309. MYSQL_ROOT_PASSWORD: owncloud
  310. MYSQL_USER: oc_autotest
  311. MYSQL_PASSWORD: owncloud
  312. MYSQL_DATABASE: oc_autotest
  313. tmpfs:
  314. - /var/lib/mysql
  315. trigger:
  316. branch:
  317. - master
  318. - stable*
  319. event:
  320. - pull_request
  321. - push
  322. ---
  323. kind: pipeline
  324. name: mysql8.0-php7.4
  325. steps:
  326. - name: submodules
  327. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  328. commands:
  329. - git submodule update --init
  330. - name: mysql-php7.4
  331. image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
  332. commands:
  333. - bash tests/drone-run-php-tests.sh || exit 0
  334. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
  335. services:
  336. - name: cache
  337. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  338. - name: mysql
  339. image: ghcr.io/nextcloud/continuous-integration-mysql-8.0:mysql-8.0
  340. command: [ "--default-authentication-plugin=mysql_native_password" ]
  341. environment:
  342. MYSQL_ROOT_PASSWORD: owncloud
  343. MYSQL_USER: oc_autotest
  344. MYSQL_PASSWORD: owncloud
  345. MYSQL_DATABASE: oc_autotest
  346. tmpfs:
  347. - /var/lib/mysql
  348. trigger:
  349. branch:
  350. - master
  351. - stable*
  352. event:
  353. - pull_request
  354. - push
  355. ---
  356. kind: pipeline
  357. name: postgres9.6-php7.3
  358. steps:
  359. - name: submodules
  360. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  361. commands:
  362. - git submodule update --init
  363. - name: postgres-php7.3
  364. image: ghcr.io/nextcloud/continuous-integration-php7.3:php7.3-6
  365. commands:
  366. - bash tests/drone-run-php-tests.sh || exit 0
  367. - sleep 10 # gives the database enough time to initialize
  368. - POSTGRES=9 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  369. services:
  370. - name: cache
  371. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  372. - name: postgres-9
  373. image: ghcr.io/nextcloud/continuous-integration-postgres-9:postgres-9.6
  374. environment:
  375. POSTGRES_USER: oc_autotest
  376. POSTGRES_DB: oc_autotest_dummy
  377. POSTGRES_PASSWORD: owncloud
  378. tmpfs:
  379. - /var/lib/postgresql/data
  380. trigger:
  381. branch:
  382. - master
  383. - stable*
  384. event:
  385. - pull_request
  386. - push
  387. ---
  388. kind: pipeline
  389. name: postgres11-php7.4
  390. steps:
  391. - name: submodules
  392. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  393. commands:
  394. - git submodule update --init
  395. - name: postgres-php7.4
  396. image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
  397. commands:
  398. - bash tests/drone-run-php-tests.sh || exit 0
  399. - sleep 10 # gives the database enough time to initialize
  400. - POSTGRES=11 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  401. services:
  402. - name: cache
  403. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  404. - name: postgres-11
  405. image: ghcr.io/nextcloud/continuous-integration-postgres-11:postgres-11
  406. environment:
  407. POSTGRES_USER: oc_autotest
  408. POSTGRES_DB: oc_autotest_dummy
  409. POSTGRES_PASSWORD: owncloud
  410. tmpfs:
  411. - /var/lib/postgresql/data
  412. trigger:
  413. branch:
  414. - master
  415. - stable*
  416. event:
  417. - pull_request
  418. - push
  419. ---
  420. kind: pipeline
  421. name: postgres13-php8.0
  422. steps:
  423. - name: submodules
  424. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  425. commands:
  426. - git submodule update --init
  427. - name: postgres-php8.0
  428. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  429. commands:
  430. - bash tests/drone-run-php-tests.sh || exit 0
  431. - sleep 10 # gives the database enough time to initialize
  432. - POSTGRES=13 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  433. services:
  434. - name: cache
  435. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  436. - name: postgres-13
  437. image: ghcr.io/nextcloud/continuous-integration-postgres-13:postgres-13
  438. environment:
  439. POSTGRES_USER: oc_autotest
  440. POSTGRES_DB: oc_autotest_dummy
  441. POSTGRES_PASSWORD: owncloud
  442. tmpfs:
  443. - /var/lib/postgresql/data
  444. trigger:
  445. branch:
  446. - master
  447. - stable*
  448. event:
  449. - pull_request
  450. - push
  451. ---
  452. kind: pipeline
  453. name: integration-capabilities_features
  454. steps:
  455. - name: submodules
  456. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  457. commands:
  458. - git submodule update --init
  459. - name: integration-capabilities_features
  460. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  461. commands:
  462. - bash tests/drone-run-integration-tests.sh || exit 0
  463. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  464. - cd build/integration
  465. - ./run.sh capabilities_features/capabilities.feature
  466. trigger:
  467. branch:
  468. - master
  469. - stable*
  470. event:
  471. - pull_request
  472. - push
  473. ---
  474. kind: pipeline
  475. name: integration-collaboration_features
  476. steps:
  477. - name: submodules
  478. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  479. commands:
  480. - git submodule update --init
  481. - name: integration-collaboration_features
  482. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  483. commands:
  484. - bash tests/drone-run-integration-tests.sh || exit 0
  485. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  486. - cd build/integration
  487. - ./run.sh collaboration_features/
  488. trigger:
  489. branch:
  490. - master
  491. - stable*
  492. event:
  493. - pull_request
  494. - push
  495. ---
  496. kind: pipeline
  497. name: integration-federation_features
  498. steps:
  499. - name: submodules
  500. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  501. commands:
  502. - git submodule update --init
  503. - name: integration-federation_features
  504. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  505. commands:
  506. - bash tests/drone-run-integration-tests.sh || exit 0
  507. - ./occ maintenance:install --admin-pass=admin
  508. - cd build/integration
  509. - ./run.sh federation_features/
  510. trigger:
  511. branch:
  512. - master
  513. - stable*
  514. event:
  515. - pull_request
  516. - push
  517. ---
  518. kind: pipeline
  519. name: integration-auth
  520. steps:
  521. - name: submodules
  522. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  523. commands:
  524. - git submodule update --init
  525. - name: integration-auth
  526. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  527. commands:
  528. - bash tests/drone-run-integration-tests.sh || exit 0
  529. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  530. - cd build/integration
  531. - ./run.sh features/auth.feature
  532. trigger:
  533. branch:
  534. - master
  535. - stable*
  536. event:
  537. - pull_request
  538. - push
  539. ---
  540. kind: pipeline
  541. name: integration-avatar
  542. steps:
  543. - name: submodules
  544. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  545. commands:
  546. - git submodule update --init
  547. - name: integration-avatar
  548. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  549. commands:
  550. - bash tests/drone-run-integration-tests.sh || exit 0
  551. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  552. - cd build/integration
  553. - ./run.sh features/avatar.feature
  554. trigger:
  555. branch:
  556. - master
  557. - stable*
  558. event:
  559. - pull_request
  560. - push
  561. ---
  562. kind: pipeline
  563. name: integration-maintenance-mode
  564. steps:
  565. - name: submodules
  566. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  567. commands:
  568. - git submodule update --init
  569. - name: integration-maintenance-mode
  570. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  571. commands:
  572. - bash tests/drone-run-integration-tests.sh || exit 0
  573. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  574. - cd build/integration
  575. - ./run.sh features/maintenance-mode.feature
  576. trigger:
  577. branch:
  578. - master
  579. - stable*
  580. event:
  581. - pull_request
  582. - push
  583. ---
  584. kind: pipeline
  585. name: integration-ratelimiting
  586. steps:
  587. - name: submodules
  588. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  589. commands:
  590. - git submodule update --init
  591. - name: integration-ratelimiting
  592. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  593. commands:
  594. - bash tests/drone-run-integration-tests.sh || exit 0
  595. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  596. - ./occ config:system:set redis host --value=cache
  597. - ./occ config:system:set redis port --value=6379 --type=integer
  598. - ./occ config:system:set redis timeout --value=0 --type=integer
  599. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  600. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  601. - ./occ app:enable testing
  602. - cd build/integration
  603. - ./run.sh features/ratelimiting.feature
  604. services:
  605. - name: cache
  606. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  607. trigger:
  608. branch:
  609. - master
  610. - stable*
  611. event:
  612. - pull_request
  613. - push
  614. ---
  615. kind: pipeline
  616. name: integration-carddav
  617. steps:
  618. - name: submodules
  619. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  620. commands:
  621. - git submodule update --init
  622. - name: integration-carddav
  623. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  624. commands:
  625. - bash tests/drone-run-integration-tests.sh || exit 0
  626. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  627. - cd build/integration
  628. - ./run.sh features/carddav.feature
  629. trigger:
  630. branch:
  631. - master
  632. - stable*
  633. event:
  634. - pull_request
  635. - push
  636. ---
  637. kind: pipeline
  638. name: integration-dav-v2
  639. steps:
  640. - name: submodules
  641. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  642. commands:
  643. - git submodule update --init
  644. - name: integration-dav-v2
  645. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  646. commands:
  647. - bash tests/drone-run-integration-tests.sh || exit 0
  648. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  649. - cd build/integration
  650. - ./run.sh features/dav-v2.feature
  651. trigger:
  652. branch:
  653. - master
  654. - stable*
  655. event:
  656. - pull_request
  657. - push
  658. ---
  659. kind: pipeline
  660. name: integration-ocs-v1
  661. steps:
  662. - name: submodules
  663. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  664. commands:
  665. - git submodule update --init
  666. - name: integration-ocs-v1
  667. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  668. commands:
  669. - bash tests/drone-run-integration-tests.sh || exit 0
  670. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  671. - cd build/integration
  672. - ./run.sh features/ocs-v1.feature
  673. trigger:
  674. branch:
  675. - master
  676. - stable*
  677. event:
  678. - pull_request
  679. - push
  680. ---
  681. kind: pipeline
  682. name: integration-checksums-v1
  683. steps:
  684. - name: submodules
  685. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  686. commands:
  687. - git submodule update --init
  688. - name: integration-checksums-v1
  689. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  690. commands:
  691. - bash tests/drone-run-integration-tests.sh || exit 0
  692. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  693. - cd build/integration
  694. - ./run.sh features/checksums.feature
  695. trigger:
  696. branch:
  697. - master
  698. - stable*
  699. event:
  700. - pull_request
  701. - push
  702. ---
  703. kind: pipeline
  704. name: integration-external-storage
  705. steps:
  706. - name: submodules
  707. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  708. commands:
  709. - git submodule update --init
  710. - name: integration-external-storage
  711. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  712. commands:
  713. - bash tests/drone-run-integration-tests.sh || exit 0
  714. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  715. - cd build/integration
  716. - ./run.sh features/external-storage.feature
  717. trigger:
  718. branch:
  719. - master
  720. - stable*
  721. event:
  722. - pull_request
  723. - push
  724. ---
  725. kind: pipeline
  726. name: integration-provisioning-v1
  727. steps:
  728. - name: submodules
  729. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  730. commands:
  731. - git submodule update --init
  732. - name: integration-provisioning-v1
  733. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  734. commands:
  735. - bash tests/drone-run-integration-tests.sh || exit 0
  736. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  737. - cd build/integration
  738. - ./run.sh features/provisioning-v1.feature
  739. trigger:
  740. branch:
  741. - master
  742. - stable*
  743. event:
  744. - pull_request
  745. - push
  746. ---
  747. kind: pipeline
  748. name: integration-tags
  749. steps:
  750. - name: submodules
  751. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  752. commands:
  753. - git submodule update --init
  754. - name: integration-tags
  755. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  756. commands:
  757. - bash tests/drone-run-integration-tests.sh || exit 0
  758. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  759. - cd build/integration
  760. - ./run.sh features/tags.feature
  761. trigger:
  762. branch:
  763. - master
  764. - stable*
  765. event:
  766. - pull_request
  767. - push
  768. ---
  769. kind: pipeline
  770. name: integration-caldav
  771. steps:
  772. - name: submodules
  773. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  774. commands:
  775. - git submodule update --init
  776. - name: integration-caldav
  777. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  778. commands:
  779. - bash tests/drone-run-integration-tests.sh || exit 0
  780. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  781. - cd build/integration
  782. - ./run.sh features/caldav.feature
  783. trigger:
  784. branch:
  785. - master
  786. - stable*
  787. event:
  788. - pull_request
  789. - push
  790. ---
  791. kind: pipeline
  792. name: integration-comments
  793. steps:
  794. - name: submodules
  795. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  796. commands:
  797. - git submodule update --init
  798. - name: integration-comments
  799. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  800. commands:
  801. - bash tests/drone-run-integration-tests.sh || exit 0
  802. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  803. - cd build/integration
  804. - ./run.sh features/comments.feature
  805. trigger:
  806. branch:
  807. - master
  808. - stable*
  809. event:
  810. - pull_request
  811. - push
  812. ---
  813. kind: pipeline
  814. name: integration-comments-search
  815. steps:
  816. - name: submodules
  817. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  818. commands:
  819. - git submodule update --init
  820. - name: integration-comments-search
  821. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  822. commands:
  823. - bash tests/drone-run-integration-tests.sh || exit 0
  824. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  825. - cd build/integration
  826. - ./run.sh features/comments-search.feature
  827. trigger:
  828. branch:
  829. - master
  830. - stable*
  831. event:
  832. - pull_request
  833. - push
  834. ---
  835. kind: pipeline
  836. name: integration-contacts-menu
  837. steps:
  838. - name: submodules
  839. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  840. commands:
  841. - git submodule update --init
  842. - name: integration-contacts-menu
  843. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  844. commands:
  845. - bash tests/drone-run-integration-tests.sh || exit 0
  846. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  847. - cd build/integration
  848. - ./run.sh features/contacts-menu.feature
  849. trigger:
  850. branch:
  851. - master
  852. - stable*
  853. event:
  854. - pull_request
  855. - push
  856. ---
  857. kind: pipeline
  858. name: integration-favorites
  859. steps:
  860. - name: submodules
  861. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  862. commands:
  863. - git submodule update --init
  864. - name: integration-favorites
  865. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  866. commands:
  867. - bash tests/drone-run-integration-tests.sh || exit 0
  868. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  869. - cd build/integration
  870. - ./run.sh features/favorites.feature
  871. trigger:
  872. branch:
  873. - master
  874. - stable*
  875. event:
  876. - pull_request
  877. - push
  878. ---
  879. kind: pipeline
  880. name: integration-provisioning-v2
  881. steps:
  882. - name: submodules
  883. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  884. commands:
  885. - git submodule update --init
  886. - name: integration-provisioning-v2
  887. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  888. commands:
  889. - bash tests/drone-run-integration-tests.sh || exit 0
  890. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  891. - cd build/integration
  892. - ./run.sh features/provisioning-v2.feature
  893. trigger:
  894. branch:
  895. - master
  896. - stable*
  897. event:
  898. - pull_request
  899. - push
  900. ---
  901. kind: pipeline
  902. name: integration-webdav-related
  903. steps:
  904. - name: submodules
  905. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  906. commands:
  907. - git submodule update --init
  908. - name: integration-webdav-related
  909. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  910. commands:
  911. - bash tests/drone-run-integration-tests.sh || exit 0
  912. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  913. - cd build/integration
  914. - ./run.sh features/webdav-related.feature
  915. trigger:
  916. branch:
  917. - master
  918. - stable*
  919. event:
  920. - pull_request
  921. - push
  922. ---
  923. kind: pipeline
  924. name: integration-sharees-features
  925. steps:
  926. - name: submodules
  927. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  928. commands:
  929. - git submodule update --init
  930. - name: integration-sharees-features
  931. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  932. commands:
  933. - bash tests/drone-run-integration-tests.sh || exit 0
  934. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  935. - cd build/integration
  936. - ./run.sh sharees_features/sharees.feature
  937. trigger:
  938. branch:
  939. - master
  940. - stable*
  941. event:
  942. - pull_request
  943. - push
  944. ---
  945. kind: pipeline
  946. name: integration-sharees-v2-features
  947. steps:
  948. - name: submodules
  949. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  950. commands:
  951. - git submodule update --init
  952. - name: integration-sharees-v2-features
  953. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  954. commands:
  955. - bash tests/drone-run-integration-tests.sh || exit 0
  956. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  957. - cd build/integration
  958. - ./run.sh sharees_features/sharees_provisioningapiv2.feature
  959. trigger:
  960. branch:
  961. - master
  962. - stable*
  963. event:
  964. - pull_request
  965. - push
  966. ---
  967. kind: pipeline
  968. name: integration-sharing-v1
  969. steps:
  970. - name: submodules
  971. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  972. commands:
  973. - git submodule update --init
  974. - name: integration-sharing-v1
  975. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  976. commands:
  977. - bash tests/drone-run-integration-tests.sh || exit 0
  978. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  979. - cd build/integration
  980. - ./run.sh sharing_features/sharing-v1.feature
  981. trigger:
  982. branch:
  983. - master
  984. - stable*
  985. event:
  986. - pull_request
  987. - push
  988. ---
  989. kind: pipeline
  990. name: integration-sharing-v1-part2
  991. steps:
  992. - name: submodules
  993. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  994. commands:
  995. - git submodule update --init
  996. - name: integration-sharing-v1-part2
  997. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  998. commands:
  999. - bash tests/drone-run-integration-tests.sh || exit 0
  1000. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1001. - cd build/integration
  1002. - ./run.sh sharing_features/sharing-v1-part2.feature
  1003. trigger:
  1004. branch:
  1005. - master
  1006. - stable*
  1007. event:
  1008. - pull_request
  1009. - push
  1010. ---
  1011. kind: pipeline
  1012. name: integration-sharing-v1-part3
  1013. steps:
  1014. - name: submodules
  1015. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1016. commands:
  1017. - git submodule update --init
  1018. - name: integration-sharing-v1-part3
  1019. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  1020. commands:
  1021. - bash tests/drone-run-integration-tests.sh || exit 0
  1022. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1023. - cd build/integration
  1024. - ./run.sh sharing_features/sharing-v1-part3.feature
  1025. trigger:
  1026. branch:
  1027. - master
  1028. - stable*
  1029. event:
  1030. - pull_request
  1031. - push
  1032. ---
  1033. kind: pipeline
  1034. name: integration-sharing-v1-video-verification
  1035. steps:
  1036. - name: submodules
  1037. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1038. commands:
  1039. - git submodule update --init
  1040. - name: install-talk
  1041. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1042. commands:
  1043. # JavaScript files are not used in integration tests so it is not needed to
  1044. # build them.
  1045. - git clone --depth 1 https://github.com/nextcloud/spreed apps/spreed
  1046. - name: integration-sharing-v1-video-verification
  1047. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  1048. commands:
  1049. - bash tests/drone-run-integration-tests.sh || exit 0
  1050. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1051. - cd build/integration
  1052. - ./run.sh sharing_features/sharing-v1-video-verification.feature
  1053. trigger:
  1054. branch:
  1055. - master
  1056. - stable*
  1057. event:
  1058. - pull_request
  1059. - push
  1060. ---
  1061. kind: pipeline
  1062. name: integration-setup-features
  1063. steps:
  1064. - name: submodules
  1065. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1066. commands:
  1067. - git submodule update --init
  1068. - name: integration-setup-features
  1069. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  1070. commands:
  1071. - bash tests/drone-run-integration-tests.sh || exit 0
  1072. - cd build/integration
  1073. - ./run.sh setup_features/setup.feature
  1074. trigger:
  1075. branch:
  1076. - master
  1077. - stable*
  1078. event:
  1079. - pull_request
  1080. - push
  1081. ---
  1082. kind: pipeline
  1083. name: integration-filesdrop-features
  1084. steps:
  1085. - name: submodules
  1086. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1087. commands:
  1088. - git submodule update --init
  1089. - name: integration-filesdrop-features
  1090. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  1091. commands:
  1092. - bash tests/drone-run-integration-tests.sh || exit 0
  1093. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1094. - cd build/integration
  1095. - ./run.sh filesdrop_features/filesdrop.feature
  1096. trigger:
  1097. branch:
  1098. - master
  1099. - stable*
  1100. event:
  1101. - pull_request
  1102. - push
  1103. ---
  1104. kind: pipeline
  1105. name: integration-transfer-ownership-features
  1106. steps:
  1107. - name: submodules
  1108. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1109. commands:
  1110. - git submodule update --init
  1111. - name: integration-transfer-ownership-features
  1112. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  1113. commands:
  1114. - bash tests/drone-run-integration-tests.sh || exit 0
  1115. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1116. - cd build/integration
  1117. - ./run.sh features/transfer-ownership.feature
  1118. trigger:
  1119. branch:
  1120. - master
  1121. - stable*
  1122. event:
  1123. - pull_request
  1124. - push
  1125. ---
  1126. kind: pipeline
  1127. name: integration-ldap-features
  1128. steps:
  1129. - name: submodules
  1130. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1131. commands:
  1132. - git submodule update --init
  1133. - name: integration-ldap-features
  1134. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  1135. commands:
  1136. - bash tests/drone-run-integration-tests.sh || exit 0
  1137. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1138. - cd build/integration
  1139. - ./run.sh ldap_features/ldap-ocs.feature
  1140. trigger:
  1141. branch:
  1142. - master
  1143. - stable*
  1144. event:
  1145. - pull_request
  1146. - push
  1147. ---
  1148. kind: pipeline
  1149. name: integration-ldap-openldap-features
  1150. steps:
  1151. - name: submodules
  1152. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1153. commands:
  1154. - git submodule update --init
  1155. - name: integration-ldap-openldap-features
  1156. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  1157. commands:
  1158. - bash tests/drone-run-integration-tests.sh || exit 0
  1159. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1160. - ./occ config:system:set redis host --value=cache
  1161. - ./occ config:system:set redis port --value=6379 --type=integer
  1162. - ./occ config:system:set redis timeout --value=0 --type=integer
  1163. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1164. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1165. - cd build/integration
  1166. - ./run.sh ldap_features/ldap-openldap.feature
  1167. services:
  1168. - name: cache
  1169. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1170. - name: openldap
  1171. image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
  1172. environment:
  1173. SLAPD_DOMAIN: nextcloud.ci
  1174. SLAPD_ORGANIZATION: Nextcloud
  1175. SLAPD_PASSWORD: admin
  1176. SLAPD_ADDITIONAL_MODULES: memberof
  1177. trigger:
  1178. branch:
  1179. - master
  1180. - stable*
  1181. event:
  1182. - pull_request
  1183. - push
  1184. ---
  1185. kind: pipeline
  1186. name: integration-ldap-openldap-uid-features
  1187. steps:
  1188. - name: submodules
  1189. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1190. commands:
  1191. - git submodule update --init
  1192. - name: integration-ldap-openldap-uid-features
  1193. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  1194. commands:
  1195. - bash tests/drone-run-integration-tests.sh || exit 0
  1196. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1197. - ./occ config:system:set redis host --value=cache
  1198. - ./occ config:system:set redis port --value=6379 --type=integer
  1199. - ./occ config:system:set redis timeout --value=0 --type=integer
  1200. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1201. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1202. - cd build/integration
  1203. - ./run.sh ldap_features/openldap-uid-username.feature
  1204. services:
  1205. - name: cache
  1206. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1207. - name: openldap
  1208. image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
  1209. environment:
  1210. SLAPD_DOMAIN: nextcloud.ci
  1211. SLAPD_ORGANIZATION: Nextcloud
  1212. SLAPD_PASSWORD: admin
  1213. SLAPD_ADDITIONAL_MODULES: memberof
  1214. trigger:
  1215. branch:
  1216. - master
  1217. - stable*
  1218. event:
  1219. - pull_request
  1220. - push
  1221. type: docker
  1222. ---
  1223. kind: pipeline
  1224. name: integration-ldap-openldap-numerical-id-features
  1225. steps:
  1226. - name: submodules
  1227. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1228. commands:
  1229. - git submodule update --init
  1230. - name: integration-ldap-openldap-numerical-id-features
  1231. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  1232. commands:
  1233. - bash tests/drone-run-integration-tests.sh || exit 0
  1234. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1235. - ./occ config:system:set redis host --value=cache
  1236. - ./occ config:system:set redis port --value=6379 --type=integer
  1237. - ./occ config:system:set redis timeout --value=0 --type=integer
  1238. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1239. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1240. - cd build/integration
  1241. - ./run.sh ldap_features/openldap-numerical-id.feature
  1242. services:
  1243. - name: cache
  1244. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1245. - name: openldap
  1246. image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
  1247. environment:
  1248. SLAPD_DOMAIN: nextcloud.ci
  1249. SLAPD_ORGANIZATION: Nextcloud
  1250. SLAPD_PASSWORD: admin
  1251. SLAPD_ADDITIONAL_MODULES: memberof
  1252. trigger:
  1253. branch:
  1254. - master
  1255. - stable*
  1256. event:
  1257. - pull_request
  1258. - push
  1259. ---
  1260. kind: pipeline
  1261. name: integration-trashbin
  1262. steps:
  1263. - name: submodules
  1264. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1265. commands:
  1266. - git submodule update --init
  1267. - name: integration-trashbin
  1268. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  1269. commands:
  1270. - bash tests/drone-run-integration-tests.sh || exit 0
  1271. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1272. - cd build/integration
  1273. - ./run.sh features/trashbin.feature
  1274. trigger:
  1275. branch:
  1276. - master
  1277. - stable*
  1278. event:
  1279. - pull_request
  1280. - push
  1281. ---
  1282. kind: pipeline
  1283. name: integration-remote-api
  1284. steps:
  1285. - name: submodules
  1286. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1287. commands:
  1288. - git submodule update --init
  1289. - name: integration-remote-api
  1290. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  1291. commands:
  1292. - bash tests/drone-run-integration-tests.sh || exit 0
  1293. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1294. - cd build/integration
  1295. - ./run.sh remoteapi_features/remote.feature
  1296. trigger:
  1297. branch:
  1298. - master
  1299. - stable*
  1300. event:
  1301. - pull_request
  1302. - push
  1303. ---
  1304. kind: pipeline
  1305. name: integration-download
  1306. steps:
  1307. - name: submodules
  1308. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1309. commands:
  1310. - git submodule update --init
  1311. - name: integration-download
  1312. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:latest
  1313. commands:
  1314. - bash tests/drone-run-integration-tests.sh || exit 0
  1315. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1316. - cd build/integration
  1317. - ./run.sh --tags ~@large features/download.feature
  1318. trigger:
  1319. branch:
  1320. - master
  1321. - stable*
  1322. event:
  1323. - pull_request
  1324. - push
  1325. ---
  1326. kind: pipeline
  1327. name: acceptance-access-levels
  1328. steps:
  1329. - name: submodules
  1330. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1331. commands:
  1332. - git submodule update --init
  1333. - name: acceptance-access-levels
  1334. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.3:acceptance-php7.3-3
  1335. commands:
  1336. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-access-levels --selenium-server selenium:4444 allow-git-repository-modifications features/access-levels.feature
  1337. services:
  1338. - name: selenium
  1339. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1340. environment:
  1341. # Reduce default log level for Selenium server (INFO) as it is too
  1342. # verbose.
  1343. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1344. trigger:
  1345. branch:
  1346. - master
  1347. - stable*
  1348. event:
  1349. - pull_request
  1350. - push
  1351. ---
  1352. kind: pipeline
  1353. name: acceptance-app-files
  1354. steps:
  1355. - name: submodules
  1356. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1357. commands:
  1358. - git submodule update --init
  1359. - name: acceptance-app-files
  1360. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.3:acceptance-php7.3-3
  1361. commands:
  1362. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files --selenium-server selenium:4444 allow-git-repository-modifications features/app-files.feature
  1363. services:
  1364. - name: selenium
  1365. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1366. environment:
  1367. # Reduce default log level for Selenium server (INFO) as it is too
  1368. # verbose.
  1369. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1370. trigger:
  1371. branch:
  1372. - master
  1373. - stable*
  1374. event:
  1375. - pull_request
  1376. - push
  1377. ---
  1378. kind: pipeline
  1379. name: acceptance-app-files-sharing
  1380. steps:
  1381. - name: submodules
  1382. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1383. commands:
  1384. - git submodule update --init
  1385. - name: acceptance-app-files-sharing
  1386. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.3:acceptance-php7.3-3
  1387. commands:
  1388. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-sharing --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-sharing.feature
  1389. services:
  1390. - name: selenium
  1391. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1392. environment:
  1393. # Reduce default log level for Selenium server (INFO) as it is too
  1394. # verbose.
  1395. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1396. trigger:
  1397. branch:
  1398. - master
  1399. - stable*
  1400. event:
  1401. - pull_request
  1402. - push
  1403. ---
  1404. kind: pipeline
  1405. name: acceptance-app-files-sharing-link
  1406. steps:
  1407. - name: submodules
  1408. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1409. commands:
  1410. - git submodule update --init
  1411. - name: acceptance-app-files-sharing-link
  1412. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.3:acceptance-php7.3-3
  1413. commands:
  1414. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-sharing-link --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-sharing-link.feature
  1415. services:
  1416. - name: selenium
  1417. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1418. environment:
  1419. # Reduce default log level for Selenium server (INFO) as it is too
  1420. # verbose.
  1421. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1422. trigger:
  1423. branch:
  1424. - master
  1425. - stable*
  1426. event:
  1427. - pull_request
  1428. - push
  1429. ---
  1430. kind: pipeline
  1431. name: acceptance-app-files-tags
  1432. steps:
  1433. - name: submodules
  1434. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1435. commands:
  1436. - git submodule update --init
  1437. - name: acceptance-app-files-tags
  1438. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.3:acceptance-php7.3-3
  1439. commands:
  1440. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-tags --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-tags.feature
  1441. services:
  1442. - name: selenium
  1443. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1444. environment:
  1445. # Reduce default log level for Selenium server (INFO) as it is too
  1446. # verbose.
  1447. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1448. trigger:
  1449. branch:
  1450. - master
  1451. - stable*
  1452. event:
  1453. - pull_request
  1454. - push
  1455. ---
  1456. kind: pipeline
  1457. name: acceptance-app-theming
  1458. steps:
  1459. - name: submodules
  1460. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1461. commands:
  1462. - git submodule update --init
  1463. - name: acceptance-app-theming
  1464. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.3:acceptance-php7.3-3
  1465. commands:
  1466. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-theming --selenium-server selenium:4444 allow-git-repository-modifications features/app-theming.feature
  1467. services:
  1468. - name: selenium
  1469. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1470. environment:
  1471. # Reduce default log level for Selenium server (INFO) as it is too
  1472. # verbose.
  1473. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1474. trigger:
  1475. branch:
  1476. - master
  1477. - stable*
  1478. event:
  1479. - pull_request
  1480. - push
  1481. ---
  1482. kind: pipeline
  1483. name: acceptance-header
  1484. steps:
  1485. - name: submodules
  1486. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1487. commands:
  1488. - git submodule update --init
  1489. - name: acceptance-header
  1490. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.3:acceptance-php7.3-3
  1491. commands:
  1492. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-header --selenium-server selenium:4444 allow-git-repository-modifications features/header.feature
  1493. services:
  1494. - name: selenium
  1495. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1496. environment:
  1497. # Reduce default log level for Selenium server (INFO) as it is too
  1498. # verbose.
  1499. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1500. trigger:
  1501. branch:
  1502. - master
  1503. - stable*
  1504. event:
  1505. - pull_request
  1506. - push
  1507. ---
  1508. kind: pipeline
  1509. name: acceptance-login
  1510. steps:
  1511. - name: submodules
  1512. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1513. commands:
  1514. - git submodule update --init
  1515. - name: acceptance-login
  1516. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.3:acceptance-php7.3-3
  1517. commands:
  1518. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-login --selenium-server selenium:4444 allow-git-repository-modifications features/login.feature
  1519. services:
  1520. - name: selenium
  1521. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1522. environment:
  1523. # Reduce default log level for Selenium server (INFO) as it is too
  1524. # verbose.
  1525. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1526. trigger:
  1527. branch:
  1528. - master
  1529. - stable*
  1530. event:
  1531. - pull_request
  1532. - push
  1533. ---
  1534. kind: pipeline
  1535. name: acceptance-users
  1536. steps:
  1537. - name: submodules
  1538. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1539. commands:
  1540. - git submodule update --init
  1541. - name: acceptance-users
  1542. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.3:acceptance-php7.3-3
  1543. commands:
  1544. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-users --selenium-server selenium:4444 allow-git-repository-modifications features/users.feature
  1545. services:
  1546. - name: selenium
  1547. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1548. environment:
  1549. # Reduce default log level for Selenium server (INFO) as it is too
  1550. # verbose.
  1551. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1552. trigger:
  1553. branch:
  1554. - master
  1555. - stable*
  1556. event:
  1557. - pull_request
  1558. - push
  1559. ---
  1560. kind: pipeline
  1561. name: acceptance-apps
  1562. steps:
  1563. - name: submodules
  1564. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1565. commands:
  1566. - git submodule update --init
  1567. - name: acceptance-apps
  1568. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.3:acceptance-php7.3-3
  1569. commands:
  1570. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-apps --selenium-server selenium:4444 allow-git-repository-modifications features/apps.feature
  1571. services:
  1572. - name: selenium
  1573. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1574. environment:
  1575. # Reduce default log level for Selenium server (INFO) as it is too
  1576. # verbose.
  1577. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1578. trigger:
  1579. branch:
  1580. - master
  1581. - stable*
  1582. event:
  1583. - pull_request
  1584. - push
  1585. ---
  1586. kind: pipeline
  1587. name: nodb-codecov
  1588. steps:
  1589. - name: submodules
  1590. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1591. commands:
  1592. - git submodule update --init
  1593. - name: nodb-codecov
  1594. image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
  1595. environment:
  1596. CODECOV_TOKEN:
  1597. from_secret: CODECOV_TOKEN
  1598. XDEBUG_MODE: coverage
  1599. commands:
  1600. - phpenmod xdebug
  1601. - TEST_SELECTION=NODB ./autotest.sh sqlite
  1602. - wget https://codecov.io/bash -O codecov.sh
  1603. - bash codecov.sh -Z -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1604. services:
  1605. - name: cache
  1606. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1607. trigger:
  1608. branch:
  1609. - master
  1610. - stable*
  1611. event:
  1612. - push
  1613. ---
  1614. kind: pipeline
  1615. name: db-codecov
  1616. steps:
  1617. - name: submodules
  1618. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1619. commands:
  1620. - git submodule update --init
  1621. - name: db-codecov
  1622. image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
  1623. environment:
  1624. CODECOV_TOKEN:
  1625. from_secret: CODECOV_TOKEN
  1626. XDEBUG_MODE: coverage
  1627. commands:
  1628. - phpenmod xdebug
  1629. - TEST_SELECTION=QUICKDB ./autotest.sh sqlite
  1630. - wget https://codecov.io/bash -O codecov.sh
  1631. - bash codecov.sh -Z -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1632. services:
  1633. - name: cache
  1634. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1635. trigger:
  1636. branch:
  1637. - master
  1638. - stable*
  1639. event:
  1640. - push
  1641. ---
  1642. kind: pipeline
  1643. name: object-store-s3
  1644. steps:
  1645. - name: minio
  1646. image: ghcr.io/nextcloud/continuous-integration-minio:latest
  1647. detach: true
  1648. commands:
  1649. - mkdir /s3data
  1650. - minio server /s3data
  1651. environment:
  1652. MINIO_ROOT_USER: nextcloud
  1653. MINIO_ROOT_PASSWORD: nextcloud
  1654. - name: submodules
  1655. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1656. commands:
  1657. - git submodule update --init
  1658. - name: object-store
  1659. image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
  1660. environment:
  1661. OBJECT_STORE: s3
  1662. CODECOV_TOKEN:
  1663. from_secret: CODECOV_TOKEN
  1664. commands:
  1665. - phpenmod xdebug
  1666. - ./tests/drone-wait-objectstore.sh
  1667. - TEST_SELECTION=PRIMARY-s3 ./autotest.sh sqlite
  1668. - wget https://codecov.io/bash -O codecov.sh
  1669. - bash codecov.sh -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1670. trigger:
  1671. branch:
  1672. - master
  1673. - stable*
  1674. event:
  1675. - pull_request
  1676. - push
  1677. ---
  1678. kind: pipeline
  1679. name: object-store-azure
  1680. steps:
  1681. - name: submodules
  1682. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1683. commands:
  1684. - git submodule update --init
  1685. - name: object-store
  1686. image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
  1687. environment:
  1688. OBJECT_STORE: azure
  1689. CODECOV_TOKEN:
  1690. from_secret: CODECOV_TOKEN
  1691. commands:
  1692. - phpenmod xdebug
  1693. - ./tests/drone-wait-objectstore.sh
  1694. - TEST_SELECTION=PRIMARY-azure ./autotest.sh sqlite
  1695. - wget https://codecov.io/bash -O codecov.sh
  1696. - bash codecov.sh -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1697. services:
  1698. - name: azurite
  1699. image: ghcr.io/nextcloud/continuous-integration-azurite:latest
  1700. environment:
  1701. executable: blob
  1702. trigger:
  1703. branch:
  1704. - master
  1705. - stable*
  1706. event:
  1707. - pull_request
  1708. - push
  1709. ---
  1710. kind: pipeline
  1711. name: memcache-memcached
  1712. steps:
  1713. - name: submodules
  1714. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1715. commands:
  1716. - git submodule update --init
  1717. - name: memcache-memcached
  1718. image: nextcloudci/php7.3-memcached:php7.3-memcached-3
  1719. commands:
  1720. - phpenmod xdebug
  1721. - service memcached restart
  1722. - ./autotest.sh sqlite tests/lib/Memcache/MemcachedTest.php
  1723. - wget https://codecov.io/bash -O codecov.sh
  1724. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1725. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1726. trigger:
  1727. branch:
  1728. - master
  1729. - stable*
  1730. event:
  1731. - pull_request
  1732. - push