Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7224c1d

Browse filesBrowse files
Merge branch '3.4' into 4.4
* 3.4: Enable APCu for the php 8 build.
2 parents 3588a53 + acbaf00 commit 7224c1d
Copy full SHA for 7224c1d

File tree

1 file changed

+18
-0
lines changed
Filter options

1 file changed

+18
-0
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+18Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,23 @@ before_install:
122122
}
123123
export -f tpecl
124124
125+
install_apcu_dev () {
126+
local ref=$1
127+
local INI=$2
128+
129+
wget https://github.com/krakjoe/apcu/archive/${ref}.zip
130+
unzip ${ref}.zip
131+
cd apcu-${ref}
132+
phpize
133+
./configure
134+
make
135+
mv modules/apcu.so $(php -r "echo ini_get('extension_dir');")
136+
echo 'extension = apcu.so' >> $INI
137+
cd ..
138+
rm -rf apcu-${ref} ${ref}.zip
139+
}
140+
export -f install_apcu_dev
141+
125142
- |
126143
# Install sigchild-enabled PHP to test the Process component on the lowest PHP matrix line
127144
if [[ ! $deps && $TRAVIS_PHP_VERSION = ${MIN_PHP%.*} && ! -d php-$MIN_PHP/sapi ]]; then
@@ -155,6 +172,7 @@ before_install:
155172
fi
156173
if [[ $PHP = nightly ]]; then
157174
tfold ext.memcached tpecl memcached-3.1.5 memcached.so $INI
175+
tfold ext.apcu install_apcu_dev 9c36db45100d4d27ec33072f4be90f1f5a0108b7 $INI
158176
else
159177
tfold ext.apcu tpecl apcu-5.1.18 apcu.so $INI
160178
tfold ext.mongodb tpecl mongodb-1.6.16 mongodb.so $INI

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.