Skip to content

Commit 200b0d2

Browse files
committed
php: ensure oniguruma is accessible
1 parent 4cdf5a9 commit 200b0d2

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

php/Jenkinsfile.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ pipeline {
8080
}
8181
steps {
8282
dir('<%= php_ver %>-<%= ts %>-<%= arch %>/php-couchbase') {
83-
sh('sudo yum install --disablerepo=bintray* -y libnsl')
83+
sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
8484
sh("CB_MOCK=1 <%= php %> -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE <%= php_root %>/phpunit.phar --debug tests/")
8585
}
8686
}

php/Jenkinsfile.lnx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ pipeline {
5555
}
5656
steps {
5757
dir('8.1.0-nts-x64/php-couchbase') {
58-
sh('sudo yum install --disablerepo=bintray* -y libnsl')
58+
sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
5959
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/")
6060
}
6161
}
@@ -100,7 +100,7 @@ pipeline {
100100
}
101101
steps {
102102
dir('8.1.0-zts-x64/php-couchbase') {
103-
sh('sudo yum install --disablerepo=bintray* -y libnsl')
103+
sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
104104
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/")
105105
}
106106
}
@@ -145,7 +145,7 @@ pipeline {
145145
}
146146
steps {
147147
dir('8.0.13-nts-x64/php-couchbase') {
148-
sh('sudo yum install --disablerepo=bintray* -y libnsl')
148+
sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
149149
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/")
150150
}
151151
}
@@ -190,7 +190,7 @@ pipeline {
190190
}
191191
steps {
192192
dir('8.0.13-zts-x64/php-couchbase') {
193-
sh('sudo yum install --disablerepo=bintray* -y libnsl')
193+
sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
194194
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/")
195195
}
196196
}
@@ -235,7 +235,7 @@ pipeline {
235235
}
236236
steps {
237237
dir('7.4.26-nts-x64/php-couchbase') {
238-
sh('sudo yum install --disablerepo=bintray* -y libnsl')
238+
sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
239239
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/")
240240
}
241241
}
@@ -280,7 +280,7 @@ pipeline {
280280
}
281281
steps {
282282
dir('7.4.26-zts-x64/php-couchbase') {
283-
sh('sudo yum install --disablerepo=bintray* -y libnsl')
283+
sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
284284
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/")
285285
}
286286
}
@@ -325,7 +325,7 @@ pipeline {
325325
}
326326
steps {
327327
dir('7.3.33-nts-x64/php-couchbase') {
328-
sh('sudo yum install --disablerepo=bintray* -y libnsl')
328+
sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
329329
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/")
330330
}
331331
}
@@ -370,7 +370,7 @@ pipeline {
370370
}
371371
steps {
372372
dir('7.3.33-zts-x64/php-couchbase') {
373-
sh('sudo yum install --disablerepo=bintray* -y libnsl')
373+
sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
374374
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/")
375375
}
376376
}

0 commit comments

Comments
 (0)