Skip to content

Commit 2146630

Browse files
committed
Merge pull request #211 from mkoppanen/php7
Php7
2 parents 7cb0c48 + 27ad33b commit 2146630

30 files changed

+1869
-1634
lines changed

.travis/travis.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ function install_libmemcached() {
6767
}
6868

6969
function install_igbinary() {
70-
git clone https://github.com/igbinary/igbinary.git
71-
pushd igbinary
70+
git clone https://github.com/igbinary/igbinary7.git
71+
pushd igbinary7
7272
phpize
7373
./configure
7474
make
@@ -79,7 +79,7 @@ function install_igbinary() {
7979
function install_msgpack() {
8080
git clone https://github.com/msgpack/msgpack-php.git
8181
pushd msgpack-php
82-
git checkout php7
82+
git checkout php7
8383
phpize
8484
./configure
8585
make
@@ -152,9 +152,9 @@ function build_php_memcached() {
152152
sasl_flag="--enable-memcached-sasl"
153153
fi
154154

155-
# ./configure --with-libmemcached-dir="$LIBMEMCACHED_PREFIX" $protocol_flag $sasl_flag --enable-memcached-json --enable-memcached-msgpack --enable-memcached-igbinary
156-
./configure --with-libmemcached-dir="$LIBMEMCACHED_PREFIX" $protocol_flag $sasl_flag
157-
make
155+
# ./configure --with-libmemcached-dir="$LIBMEMCACHED_PREFIX" $protocol_flag $sasl_flag
156+
./configure --with-libmemcached-dir="$LIBMEMCACHED_PREFIX" $protocol_flag $sasl_flag --enable-memcached-json --enable-memcached-msgpack --enable-memcached-igbinary
157+
make
158158
make install
159159
popd
160160
}
@@ -184,7 +184,7 @@ function run_memcached_tests() {
184184
rm ./tests/expire.phpt
185185

186186
# Run normal tests
187-
php run-tests.php --show-diff -d extension=memcached.so -n ./tests/*.phpt
187+
php run-tests.php --show-diff -d extension=modules/memcached.so -d extension=msgpack.so -d extension=igbinary.so -n ./tests/*.phpt
188188
retval=$?
189189
popd
190190
return $retval;
@@ -236,10 +236,10 @@ case $ACTION in
236236
install_libmemcached
237237

238238
# Install igbinary extension
239-
# install_igbinary
239+
install_igbinary
240240

241241
# install msgpack
242-
# install_msgpack
242+
install_msgpack
243243

244244
install_memcached
245245
run_memcached

package.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,17 @@ http://pear.php.net/dtd/package-2.0.xsd">
137137
<file role='test' name='sasl_basic.phpt'/>
138138
<file role='test' name='getserverbykey.phpt'/>
139139
<file role='test' name='gh_155.phpt'/>
140+
<file role='test' name='get_flags.phpt'/>
141+
<file role='test' name='session_lock.phpt'/>
142+
<file role='test' name='session_regenerate.phpt'/>
143+
<file role='test' name='stats.phpt'/>
140144
</dir>
141145
</dir>
142146
</contents>
143147
<dependencies>
144148
<required>
145149
<php>
146-
<min>5.2.0</min>
147-
<max>6.0.0</max>
148-
<exclude>6.0.0</exclude>
150+
<min>7.0.0</min>
149151
</php>
150152
<pearinstaller>
151153
<min>1.4.0b1</min>

0 commit comments

Comments
 (0)