@@ -4,11 +4,13 @@ name: jsunit
44steps :
55- name : jsunit
66 image : nextcloudci/jsunit:jsunit-5
7+ environment :
8+ CODECOV_TOKEN :
9+ from_secret : CODECOV_TOKEN
710 commands :
811 - ./autotest-js.sh
912 - curl -o codecov.sh https://codecov.io/bash
10- - 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; fi"
11- - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5; fi"
13+ - bash codecov.sh -C $DRONE_COMMIT
1214
1315trigger :
1416 branch :
@@ -204,21 +206,21 @@ steps:
204206 commands :
205207 - smbd -D -FS &
206208 - ./autotest-external.sh sqlite smb-linux
207- - wget https://codecov.io/bash -O codecov.sh
208- - 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"
209- - 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"
210- - 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"
211- - 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"
209+ # - wget https://codecov.io/bash -O codecov.sh
210+ # - 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"
211+ # - 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"
212+ # - 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"
213+ # - 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"
212214- name : sqlite-php7.3-samba-non-native
213215 image : nextcloudci/samba-non-native-php7.3:samba-non-native-php7.3-1
214216 commands :
215217 - smbd -D -FS &
216218 - ./autotest-external.sh sqlite smb-linux
217- - wget https://codecov.io/bash -O codecov.sh
218- - 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"
219- - 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"
220- - 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"
221- - 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"
219+ # - wget https://codecov.io/bash -O codecov.sh
220+ # - 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"
221+ # - 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"
222+ # - 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"
223+ # - 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"
222224
223225trigger :
224226 branch :
@@ -242,11 +244,11 @@ steps:
242244 commands :
243245 - apache2
244246 - ./autotest-external.sh sqlite webdav-apachedrone
245- - wget https://codecov.io/bash -O codecov.sh
246- - 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"
247- - 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"
248- - 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"
249- - 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"
247+ # - wget https://codecov.io/bash -O codecov.sh
248+ # - 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"
249+ # - 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"
250+ # - 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"
251+ # - 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"
250252
251253services :
252254- name : cache
@@ -270,15 +272,15 @@ steps:
270272 commands :
271273 - git submodule update --init
272274- name : nodb-php7.2
273- image : nextcloudci/php7.2:php7.2-13
275+ image : nextcloudci/php7.2:latest
274276 commands :
275277 - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
276278- name : nodb-php7.3
277- image : nextcloudci/php7.3:php7.3-4
279+ image : nextcloudci/php7.3:latest
278280 commands :
279281 - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
280282- name : nodb-php7.4
281- image : nextcloudci/php7.4:2
283+ image : nextcloudci/php7.4:latest
282284 commands :
283285 - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
284286
@@ -2039,13 +2041,15 @@ steps:
20392041 commands :
20402042 - git submodule update --init
20412043- name : nodb-codecov
2042- image : nextcloudci/php7.2:php7.2-13
2044+ image : nextcloudci/php7.4:latest
2045+ environment :
2046+ CODECOV_TOKEN :
2047+ from_secret : CODECOV_TOKEN
20432048 commands :
2044- - phpenmod xdebug
2045- - TEST_SELECTION=NODB ./autotest.sh sqlite
2046- - wget https://codecov.io/bash -O codecov.sh
2047- - 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"
2048- - 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"
2049+ - phpenmod xdebug
2050+ - TEST_SELECTION=NODB ./autotest.sh sqlite
2051+ - wget https://codecov.io/bash -O codecov.sh
2052+ - bash codecov.sh -Z -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
20492053
20502054services :
20512055- name : cache
@@ -2068,13 +2072,15 @@ steps:
20682072 commands :
20692073 - git submodule update --init
20702074- name : db-codecov
2071- image : nextcloudci/php7.2:php7.2-13
2075+ image : nextcloudci/php7.4:latest
2076+ environment :
2077+ CODECOV_TOKEN :
2078+ from_secret : CODECOV_TOKEN
20722079 commands :
20732080 - phpenmod xdebug
20742081 - TEST_SELECTION=QUICKDB ./autotest.sh sqlite
20752082 - wget https://codecov.io/bash -O codecov.sh
2076- - 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"
2077- - 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"
2083+ - bash codecov.sh -Z -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
20782084
20792085services :
20802086- name : cache
@@ -2097,14 +2103,16 @@ steps:
20972103 commands :
20982104 - git submodule update --init
20992105- name : object-store
2100- image : nextcloudci/php7.2:php7.2-13
2106+ image : nextcloudci/php7.4:latest
2107+ environment :
2108+ CODECOV_TOKEN :
2109+ from_secret : CODECOV_TOKEN
21012110 commands :
21022111 - phpenmod xdebug
21032112 - ./tests/drone-wait-objectstore.sh
21042113 - TEST_SELECTION=PRIMARY-s3 ./autotest.sh sqlite
21052114 - wget https://codecov.io/bash -O codecov.sh
2106- - 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"
2107- - 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"
2115+ - bash codecov.sh -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
21082116
21092117services :
21102118- name : fake-s3
@@ -2128,14 +2136,16 @@ steps:
21282136 commands :
21292137 - git submodule update --init
21302138- name : object-store
2131- image : nextcloudci/php7.2:php7.2-13
2139+ image : nextcloudci/php7.4:latest
2140+ environment :
2141+ CODECOV_TOKEN :
2142+ from_secret : CODECOV_TOKEN
21322143 commands :
21332144 - phpenmod xdebug
21342145 - ./tests/drone-wait-objectstore.sh
21352146 - TEST_SELECTION=PRIMARY-azure ./autotest.sh sqlite
21362147 - wget https://codecov.io/bash -O codecov.sh
2137- - 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"
2138- - 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"
2148+ - bash codecov.sh -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
21392149
21402150services :
21412151- name : azurite
@@ -2238,9 +2248,9 @@ steps:
22382248 - phpenmod xdebug
22392249 - service memcached restart
22402250 - ./autotest.sh sqlite tests/lib/Memcache/MemcachedTest.php
2241- - wget https://codecov.io/bash -O codecov.sh
2242- - 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"
2243- - 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"
2251+ # - wget https://codecov.io/bash -O codecov.sh
2252+ # - 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"
2253+ # - 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"
22442254
22452255trigger :
22462256 branch :
0 commit comments