@@ -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 :
@@ -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
@@ -2070,13 +2072,15 @@ steps:
20702072 commands :
20712073 - git submodule update --init
20722074- name : nodb-codecov
2073- image : nextcloudci/php7.2:php7.2-13
2075+ image : nextcloudci/php7.4:latest
2076+ environment :
2077+ CODECOV_TOKEN :
2078+ from_secret : CODECOV_TOKEN
20742079 commands :
20752080 - phpenmod xdebug
20762081 - TEST_SELECTION=NODB ./autotest.sh sqlite
20772082 - wget https://codecov.io/bash -O codecov.sh
2078- - 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"
2079- - 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
20802084
20812085services :
20822086- name : cache
@@ -2099,13 +2103,15 @@ steps:
20992103 commands :
21002104 - git submodule update --init
21012105- name : db-codecov
2102- image : nextcloudci/php7.2:php7.2-13
2106+ image : nextcloudci/php7.4:latest
2107+ environment :
2108+ CODECOV_TOKEN :
2109+ from_secret : CODECOV_TOKEN
21032110 commands :
21042111 - phpenmod xdebug
21052112 - TEST_SELECTION=QUICKDB ./autotest.sh sqlite
21062113 - wget https://codecov.io/bash -O codecov.sh
2107- - 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"
2108- - 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"
2114+ - bash codecov.sh -Z -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
21092115
21102116services :
21112117- name : cache
@@ -2128,14 +2134,16 @@ steps:
21282134 commands :
21292135 - git submodule update --init
21302136- name : object-store
2131- image : nextcloudci/php7.2:php7.2-13
2137+ image : nextcloudci/php7.4:latest
2138+ environment :
2139+ CODECOV_TOKEN :
2140+ from_secret : CODECOV_TOKEN
21322141 commands :
21332142 - phpenmod xdebug
21342143 - ./tests/drone-wait-objectstore.sh
21352144 - TEST_SELECTION=PRIMARY-s3 ./autotest.sh sqlite
21362145 - 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"
2146+ - bash codecov.sh -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
21392147
21402148services :
21412149- name : fake-s3
@@ -2159,14 +2167,16 @@ steps:
21592167 commands :
21602168 - git submodule update --init
21612169- name : object-store
2162- image : nextcloudci/php7.2:php7.2-13
2170+ image : nextcloudci/php7.4:latest
2171+ environment :
2172+ CODECOV_TOKEN :
2173+ from_secret : CODECOV_TOKEN
21632174 commands :
21642175 - phpenmod xdebug
21652176 - ./tests/drone-wait-objectstore.sh
21662177 - TEST_SELECTION=PRIMARY-azure ./autotest.sh sqlite
21672178 - wget https://codecov.io/bash -O codecov.sh
2168- - 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"
2169- - 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"
2179+ - bash codecov.sh -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
21702180
21712181services :
21722182- name : azurite
0 commit comments