File tree 1 file changed +18
-0
lines changed
Filter options
1 file changed +18
-0
lines changed
Original file line number Diff line number Diff line change @@ -122,6 +122,23 @@ before_install:
122
122
}
123
123
export -f tpecl
124
124
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
+
125
142
- |
126
143
# Install sigchild-enabled PHP to test the Process component on the lowest PHP matrix line
127
144
if [[ ! $deps && $TRAVIS_PHP_VERSION = ${MIN_PHP%.*} && ! -d php-$MIN_PHP/sapi ]]; then
@@ -155,6 +172,7 @@ before_install:
155
172
fi
156
173
if [[ $PHP = nightly ]]; then
157
174
tfold ext.memcached tpecl memcached-3.1.5 memcached.so $INI
175
+ tfold ext.apcu install_apcu_dev 9c36db45100d4d27ec33072f4be90f1f5a0108b7 $INI
158
176
else
159
177
tfold ext.apcu tpecl apcu-5.1.18 apcu.so $INI
160
178
tfold ext.mongodb tpecl mongodb-1.6.16 mongodb.so $INI
You can’t perform that action at this time.
0 commit comments