Skip to content

Commit da9022c

Browse files
committed
php: update phpunit
1 parent 200b0d2 commit da9022c

3 files changed

Lines changed: 131 additions & 131 deletions

File tree

php/Jenkinsfile.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<% # vim: ft=eruby et ts=4 sw=4 sts=4
2-
patch = 'cb1'
2+
patch = 'cb6'
33
supported_interpreters = [
44
'8.1.0',
55
'8.0.13',

php/Jenkinsfile.lnx

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pipeline {
2424
steps {
2525
sh(script: 'sudo yum install --disablerepo=bintray* -y openssl-libs', returnStatus: true)
2626
cleanWs()
27-
sh('cbdep --debug install --dir /tmp/php php-nts 8.1.0-cb1')
27+
sh('cbdep --debug install --dir /tmp/php php-nts 8.1.0-cb6')
2828
}
2929
}
3030
stage('lcb') {
@@ -42,8 +42,8 @@ pipeline {
4242
dir('8.1.0-nts-x64') {
4343
unstash 'php-couchbase'
4444
dir('php-couchbase') {
45-
sh('/tmp/php/php-nts-8.1.0-cb1/bin/phpize')
46-
sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-nts-8.1.0-cb1/bin/php-config")
45+
sh('/tmp/php/php-nts-8.1.0-cb6/bin/phpize')
46+
sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-nts-8.1.0-cb6/bin/php-config")
4747
sh('make clean all')
4848
}
4949
}
@@ -56,7 +56,7 @@ pipeline {
5656
steps {
5757
dir('8.1.0-nts-x64/php-couchbase') {
5858
sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
59-
sh("CB_MOCK=1 /tmp/php/php-nts-8.1.0-cb1/bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-nts-8.1.0-cb1/phpunit.phar --debug tests/")
59+
sh("CB_MOCK=1 /tmp/php/php-nts-8.1.0-cb6/bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-nts-8.1.0-cb6/phpunit.phar --debug tests/")
6060
}
6161
}
6262
}
@@ -69,7 +69,7 @@ pipeline {
6969
steps {
7070
sh(script: 'sudo yum install --disablerepo=bintray* -y openssl-libs', returnStatus: true)
7171
cleanWs()
72-
sh('cbdep --debug install --dir /tmp/php php-zts 8.1.0-cb1')
72+
sh('cbdep --debug install --dir /tmp/php php-zts 8.1.0-cb6')
7373
}
7474
}
7575
stage('lcb') {
@@ -87,8 +87,8 @@ pipeline {
8787
dir('8.1.0-zts-x64') {
8888
unstash 'php-couchbase'
8989
dir('php-couchbase') {
90-
sh('/tmp/php/php-zts-8.1.0-cb1/bin/phpize')
91-
sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-zts-8.1.0-cb1/bin/php-config")
90+
sh('/tmp/php/php-zts-8.1.0-cb6/bin/phpize')
91+
sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-zts-8.1.0-cb6/bin/php-config")
9292
sh('make clean all')
9393
}
9494
}
@@ -101,7 +101,7 @@ pipeline {
101101
steps {
102102
dir('8.1.0-zts-x64/php-couchbase') {
103103
sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
104-
sh("CB_MOCK=1 /tmp/php/php-zts-8.1.0-cb1/bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-zts-8.1.0-cb1/phpunit.phar --debug tests/")
104+
sh("CB_MOCK=1 /tmp/php/php-zts-8.1.0-cb6/bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-zts-8.1.0-cb6/phpunit.phar --debug tests/")
105105
}
106106
}
107107
}
@@ -114,7 +114,7 @@ pipeline {
114114
steps {
115115
sh(script: 'sudo yum install --disablerepo=bintray* -y openssl-libs', returnStatus: true)
116116
cleanWs()
117-
sh('cbdep --debug install --dir /tmp/php php-nts 8.0.13-cb1')
117+
sh('cbdep --debug install --dir /tmp/php php-nts 8.0.13-cb6')
118118
}
119119
}
120120
stage('lcb') {
@@ -132,8 +132,8 @@ pipeline {
132132
dir('8.0.13-nts-x64') {
133133
unstash 'php-couchbase'
134134
dir('php-couchbase') {
135-
sh('/tmp/php/php-nts-8.0.13-cb1/bin/phpize')
136-
sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-nts-8.0.13-cb1/bin/php-config")
135+
sh('/tmp/php/php-nts-8.0.13-cb6/bin/phpize')
136+
sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-nts-8.0.13-cb6/bin/php-config")
137137
sh('make clean all')
138138
}
139139
}
@@ -146,7 +146,7 @@ pipeline {
146146
steps {
147147
dir('8.0.13-nts-x64/php-couchbase') {
148148
sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
149-
sh("CB_MOCK=1 /tmp/php/php-nts-8.0.13-cb1/bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-nts-8.0.13-cb1/phpunit.phar --debug tests/")
149+
sh("CB_MOCK=1 /tmp/php/php-nts-8.0.13-cb6/bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-nts-8.0.13-cb6/phpunit.phar --debug tests/")
150150
}
151151
}
152152
}
@@ -159,7 +159,7 @@ pipeline {
159159
steps {
160160
sh(script: 'sudo yum install --disablerepo=bintray* -y openssl-libs', returnStatus: true)
161161
cleanWs()
162-
sh('cbdep --debug install --dir /tmp/php php-zts 8.0.13-cb1')
162+
sh('cbdep --debug install --dir /tmp/php php-zts 8.0.13-cb6')
163163
}
164164
}
165165
stage('lcb') {
@@ -177,8 +177,8 @@ pipeline {
177177
dir('8.0.13-zts-x64') {
178178
unstash 'php-couchbase'
179179
dir('php-couchbase') {
180-
sh('/tmp/php/php-zts-8.0.13-cb1/bin/phpize')
181-
sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-zts-8.0.13-cb1/bin/php-config")
180+
sh('/tmp/php/php-zts-8.0.13-cb6/bin/phpize')
181+
sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-zts-8.0.13-cb6/bin/php-config")
182182
sh('make clean all')
183183
}
184184
}
@@ -191,7 +191,7 @@ pipeline {
191191
steps {
192192
dir('8.0.13-zts-x64/php-couchbase') {
193193
sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
194-
sh("CB_MOCK=1 /tmp/php/php-zts-8.0.13-cb1/bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-zts-8.0.13-cb1/phpunit.phar --debug tests/")
194+
sh("CB_MOCK=1 /tmp/php/php-zts-8.0.13-cb6/bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-zts-8.0.13-cb6/phpunit.phar --debug tests/")
195195
}
196196
}
197197
}
@@ -204,7 +204,7 @@ pipeline {
204204
steps {
205205
sh(script: 'sudo yum install --disablerepo=bintray* -y openssl-libs', returnStatus: true)
206206
cleanWs()
207-
sh('cbdep --debug install --dir /tmp/php php-nts 7.4.26-cb1')
207+
sh('cbdep --debug install --dir /tmp/php php-nts 7.4.26-cb6')
208208
}
209209
}
210210
stage('lcb') {
@@ -222,8 +222,8 @@ pipeline {
222222
dir('7.4.26-nts-x64') {
223223
unstash 'php-couchbase'
224224
dir('php-couchbase') {
225-
sh('/tmp/php/php-nts-7.4.26-cb1/bin/phpize')
226-
sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-nts-7.4.26-cb1/bin/php-config")
225+
sh('/tmp/php/php-nts-7.4.26-cb6/bin/phpize')
226+
sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-nts-7.4.26-cb6/bin/php-config")
227227
sh('make clean all')
228228
}
229229
}
@@ -236,7 +236,7 @@ pipeline {
236236
steps {
237237
dir('7.4.26-nts-x64/php-couchbase') {
238238
sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
239-
sh("CB_MOCK=1 /tmp/php/php-nts-7.4.26-cb1/bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-nts-7.4.26-cb1/phpunit.phar --debug tests/")
239+
sh("CB_MOCK=1 /tmp/php/php-nts-7.4.26-cb6/bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-nts-7.4.26-cb6/phpunit.phar --debug tests/")
240240
}
241241
}
242242
}
@@ -249,7 +249,7 @@ pipeline {
249249
steps {
250250
sh(script: 'sudo yum install --disablerepo=bintray* -y openssl-libs', returnStatus: true)
251251
cleanWs()
252-
sh('cbdep --debug install --dir /tmp/php php-zts 7.4.26-cb1')
252+
sh('cbdep --debug install --dir /tmp/php php-zts 7.4.26-cb6')
253253
}
254254
}
255255
stage('lcb') {
@@ -267,8 +267,8 @@ pipeline {
267267
dir('7.4.26-zts-x64') {
268268
unstash 'php-couchbase'
269269
dir('php-couchbase') {
270-
sh('/tmp/php/php-zts-7.4.26-cb1/bin/phpize')
271-
sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-zts-7.4.26-cb1/bin/php-config")
270+
sh('/tmp/php/php-zts-7.4.26-cb6/bin/phpize')
271+
sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-zts-7.4.26-cb6/bin/php-config")
272272
sh('make clean all')
273273
}
274274
}
@@ -281,7 +281,7 @@ pipeline {
281281
steps {
282282
dir('7.4.26-zts-x64/php-couchbase') {
283283
sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
284-
sh("CB_MOCK=1 /tmp/php/php-zts-7.4.26-cb1/bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-zts-7.4.26-cb1/phpunit.phar --debug tests/")
284+
sh("CB_MOCK=1 /tmp/php/php-zts-7.4.26-cb6/bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-zts-7.4.26-cb6/phpunit.phar --debug tests/")
285285
}
286286
}
287287
}
@@ -294,7 +294,7 @@ pipeline {
294294
steps {
295295
sh(script: 'sudo yum install --disablerepo=bintray* -y openssl-libs', returnStatus: true)
296296
cleanWs()
297-
sh('cbdep --debug install --dir /tmp/php php-nts 7.3.33-cb1')
297+
sh('cbdep --debug install --dir /tmp/php php-nts 7.3.33-cb6')
298298
}
299299
}
300300
stage('lcb') {
@@ -312,8 +312,8 @@ pipeline {
312312
dir('7.3.33-nts-x64') {
313313
unstash 'php-couchbase'
314314
dir('php-couchbase') {
315-
sh('/tmp/php/php-nts-7.3.33-cb1/bin/phpize')
316-
sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-nts-7.3.33-cb1/bin/php-config")
315+
sh('/tmp/php/php-nts-7.3.33-cb6/bin/phpize')
316+
sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-nts-7.3.33-cb6/bin/php-config")
317317
sh('make clean all')
318318
}
319319
}
@@ -326,7 +326,7 @@ pipeline {
326326
steps {
327327
dir('7.3.33-nts-x64/php-couchbase') {
328328
sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
329-
sh("CB_MOCK=1 /tmp/php/php-nts-7.3.33-cb1/bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-nts-7.3.33-cb1/phpunit.phar --debug tests/")
329+
sh("CB_MOCK=1 /tmp/php/php-nts-7.3.33-cb6/bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-nts-7.3.33-cb6/phpunit.phar --debug tests/")
330330
}
331331
}
332332
}
@@ -339,7 +339,7 @@ pipeline {
339339
steps {
340340
sh(script: 'sudo yum install --disablerepo=bintray* -y openssl-libs', returnStatus: true)
341341
cleanWs()
342-
sh('cbdep --debug install --dir /tmp/php php-zts 7.3.33-cb1')
342+
sh('cbdep --debug install --dir /tmp/php php-zts 7.3.33-cb6')
343343
}
344344
}
345345
stage('lcb') {
@@ -357,8 +357,8 @@ pipeline {
357357
dir('7.3.33-zts-x64') {
358358
unstash 'php-couchbase'
359359
dir('php-couchbase') {
360-
sh('/tmp/php/php-zts-7.3.33-cb1/bin/phpize')
361-
sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-zts-7.3.33-cb1/bin/php-config")
360+
sh('/tmp/php/php-zts-7.3.33-cb6/bin/phpize')
361+
sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-zts-7.3.33-cb6/bin/php-config")
362362
sh('make clean all')
363363
}
364364
}
@@ -371,7 +371,7 @@ pipeline {
371371
steps {
372372
dir('7.3.33-zts-x64/php-couchbase') {
373373
sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
374-
sh("CB_MOCK=1 /tmp/php/php-zts-7.3.33-cb1/bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-zts-7.3.33-cb1/phpunit.phar --debug tests/")
374+
sh("CB_MOCK=1 /tmp/php/php-zts-7.3.33-cb6/bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-zts-7.3.33-cb6/phpunit.phar --debug tests/")
375375
}
376376
}
377377
}

0 commit comments

Comments
 (0)